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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001792/0.001792, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.365/1.365, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001669/0.001669, allocations: 120.1 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.474e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08132, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3213/0.4026, allocations: 106.1 MB / 448.7 MB, free: 6.012 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.403, allocations: 84.14 kB / 448.8 MB, free: 5.969 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5723/0.9753, allocations: 124.3 MB / 0.5597 GB, free: 70.88 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.9754, allocations: 0 / 0.5597 GB, free: 70.88 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003831/0.9758, allocations: 147.6 kB / 0.5598 GB, free: 70.87 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02437/1, allocations: 7.068 MB / 0.5667 GB, free: 68.3 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1, allocations: 11.56 kB / 0.5667 GB, free: 68.3 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/1.013, allocations: 2.768 MB / 0.5694 GB, free: 67.83 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.032, allocations: 7.483 MB / 0.5768 GB, free: 66.44 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/1.033, allocations: 223.7 kB / 0.577 GB, free: 66.44 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002964/1.036, allocations: 416 kB / 0.5774 GB, free: 66.43 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01737/1.053, allocations: 10.07 MB / 0.5872 GB, free: 62.81 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03856/1.092, allocations: 14.6 MB / 0.6015 GB, free: 55.2 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/1.092, allocations: 76.73 kB / 0.6015 GB, free: 55.16 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001733/1.094, allocations: 42.17 kB / 0.6016 GB, free: 55.16 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003016/1.097, allocations: 1.502 MB / 0.603 GB, free: 54.88 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.3231/1.42, allocations: 72.67 MB / 0.674 GB, free: 43.81 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/1.426, allocations: 4.812 MB / 0.6787 GB, free: 43.15 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/1.43, allocations: 3.535 MB / 0.6821 GB, free: 43.11 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008616/1.43, allocations: 0.7038 MB / 0.6828 GB, free: 42.54 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.431, allocations: 62.75 kB / 0.6829 GB, free: 42.5 MB / 411.1 MB Notification: Performance of pre-optimization done (n=270): time 5.5e-06/1.431, allocations: 0 / 0.6829 GB, free: 42.5 MB / 411.1 MB Notification: Performance of matching and sorting (n=353): time 0.1021/1.533, allocations: 41.66 MB / 0.7236 GB, free: 33.77 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.533, allocations: 164.8 kB / 0.7237 GB, free: 33.61 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007615/1.54, allocations: 4.441 MB / 0.7281 GB, free: 32.01 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.542, allocations: 27.52 kB / 0.7281 GB, free: 31.98 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/1.544, allocations: 4.763 MB / 0.7327 GB, free: 28.33 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.545, allocations: 1.275 MB / 0.734 GB, free: 27.38 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/1.546, allocations: 0 / 0.734 GB, free: 27.38 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0005125/1.546, allocations: 0.703 MB / 0.7347 GB, free: 26.91 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005283/1.552, allocations: 4.021 MB / 0.7386 GB, free: 25.41 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007346/1.559, allocations: 9.332 MB / 0.7477 GB, free: 16.78 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008647/1.568, allocations: 6.057 MB / 0.7536 GB, free: 14.79 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.568, allocations: 54.44 kB / 0.7537 GB, free: 14.79 MB / 411.1 MB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.03698/1.605, allocations: 17.39 MB / 0.7707 GB, free: 6.492 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/1.605, allocations: 84 kB / 0.7708 GB, free: 6.41 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004313/1.606, allocations: 188.7 kB / 0.7709 GB, free: 6.227 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01836/1.624, allocations: 5.388 MB / 0.7762 GB, free: 2.727 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008085/1.632, allocations: 2.078 MB / 0.7782 GB, free: 0.9375 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05083/1.683, allocations: 35.55 MB / 0.8129 GB, free: 0.7773 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/1.693, allocations: 415 kB / 0.8133 GB, free: 380 kB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003052/1.696, allocations: 0.5879 MB / 0.8139 GB, free: 15.79 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 57 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1078 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.003554/1.7, allocations: 0.5847 MB / 0.8145 GB, free: 15.19 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/1.701, allocations: 0.4982 MB / 0.815 GB, free: 14.69 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02624/1.728, allocations: 10.42 MB / 0.8251 GB, free: 4.133 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.932e-05/1.728, allocations: 51.98 kB / 0.8252 GB, free: 4.082 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2435/1.971, allocations: 8.997 MB / 0.834 GB, free: 111.4 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/1.971, allocations: 15.19 kB / 0.834 GB, free: 111.4 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04433/2.016, allocations: 22.71 MB / 0.8562 GB, free: 109.8 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/2.016, allocations: 6.875 kB / 0.8562 GB, free: 109.8 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/2.018, allocations: 482.8 kB / 0.8566 GB, free: 109.8 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/2.032, allocations: 3.793 MB / 0.8603 GB, free: 109.8 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/2.032, allocations: 19.78 kB / 0.8604 GB, free: 109.8 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03412/2.066, allocations: 25.96 MB / 0.8857 GB, free: 97.28 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0141/2.081, allocations: 11.66 MB / 0.8971 GB, free: 91.2 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/2.107, allocations: 15.35 MB / 0.9121 GB, free: 84.93 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003867/2.111, allocations: 1.126 MB / 0.9132 GB, free: 84.5 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/2.113, allocations: 12.81 kB / 0.9132 GB, free: 84.5 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004556/2.118, allocations: 176.2 kB / 0.9134 GB, free: 84.5 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/2.119, allocations: 254.5 kB / 0.9136 GB, free: 84.46 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004927/2.119, allocations: 97.67 kB / 0.9137 GB, free: 84.44 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.005779/2.125, allocations: 2.987 MB / 0.9166 GB, free: 83.36 MB / 459.1 MB Notification: Performance of sort global known variables: time 6.31e-07/2.125, allocations: 0 / 0.9166 GB, free: 83.36 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01063/2.136, allocations: 1.827 MB / 0.9184 GB, free: 83.35 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 ($STATESET1.x,$STATESET0.x,joint.R_rel.w[2],joint.constantTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 213 * 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%) 12,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/2.137, allocations: 222.4 kB / 0.9186 GB, free: 83.26 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.0141/2.151, allocations: 10.42 MB / 0.9288 GB, free: 79.02 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.151, allocations: 0 / 0.9288 GB, free: 79.02 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005937/2.157, allocations: 4.16 MB / 0.9328 GB, free: 77 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006117/2.163, allocations: 0.6318 MB / 0.9335 GB, free: 76.77 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02689/2.19, allocations: 13.52 MB / 0.9467 GB, free: 65.05 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006171/2.197, allocations: 5.12 MB / 0.9517 GB, free: 61.29 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.007035/2.204, allocations: 2.843 MB / 0.9544 GB, free: 59.57 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/2.205, allocations: 349.9 kB / 0.9548 GB, free: 59.25 MB / 459.1 MB Notification: Performance of SimCode: time 8.32e-07/2.205, allocations: 0 / 0.9548 GB, free: 59.25 MB / 459.1 MB Notification: Performance of Templates: time 0.3766/2.582, allocations: 83.42 MB / 1.036 GB, free: 99.26 MB / 459.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (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)