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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001518/0.001517, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.256/1.256, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001584, allocations: 103.5 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.273e-05, allocations: 7.984 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06721/0.06725, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.3274, allocations: 101 MB / 408.7 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3276, allocations: 86.2 kB / 408.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4476/0.7752, allocations: 127.3 MB / 0.5235 GB, free: 65.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7753, allocations: 0 / 0.5235 GB, free: 65.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002903/0.7756, allocations: 146.7 kB / 0.5236 GB, free: 65.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.02345/0.799, allocations: 7.066 MB / 0.5305 GB, free: 58.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.7991, allocations: 8.031 kB / 0.5305 GB, free: 58.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.8125, allocations: 2.765 MB / 0.5332 GB, free: 55.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/0.8287, allocations: 7.492 MB / 0.5406 GB, free: 47.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.8291, allocations: 0.519 MB / 0.5411 GB, free: 47.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.8319, allocations: 0.6849 MB / 0.5417 GB, free: 46.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03587/0.8678, allocations: 17.12 MB / 0.5584 GB, free: 28.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002806/0.8681, allocations: 79.19 kB / 0.5585 GB, free: 28.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001512/0.8697, allocations: 331.8 kB / 0.5588 GB, free: 27.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001787/0.8715, allocations: 1.507 MB / 0.5603 GB, free: 26.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/0.8987, allocations: 14.32 MB / 0.5743 GB, free: 11.95 MB / 346.7 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.2634/1.162, allocations: 73.21 MB / 0.6458 GB, free: 28.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/1.182, allocations: 7.592 MB / 0.6532 GB, free: 27.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00447/1.187, allocations: 3.938 MB / 0.6571 GB, free: 26.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.207, allocations: 15.89 MB / 0.6726 GB, free: 18.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.207, allocations: 67.28 kB / 0.6726 GB, free: 18.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=261): time 5.711e-06/1.207, allocations: 0 / 0.6726 GB, free: 18.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=335): time 0.1079/1.315, allocations: 39.92 MB / 0.7116 GB, free: 12.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2165/1.532, allocations: 15.3 MB / 0.7266 GB, free: 87.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009211/1.541, allocations: 5.022 MB / 0.7315 GB, free: 87.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008982/1.542, allocations: 76.14 kB / 0.7315 GB, free: 87.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003591/1.546, allocations: 4.738 MB / 0.7362 GB, free: 85.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/1.548, allocations: 1.261 MB / 0.7374 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008252/1.549, allocations: 178.9 kB / 0.7376 GB, free: 84.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004802/1.549, allocations: 0.6883 MB / 0.7382 GB, free: 84.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00624/1.555, allocations: 4.274 MB / 0.7424 GB, free: 84.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007555/1.563, allocations: 9.472 MB / 0.7517 GB, free: 77.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008451/1.571, allocations: 6.283 MB / 0.7578 GB, free: 77.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.572, allocations: 52.25 kB / 0.7578 GB, free: 77.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.03866/1.61, allocations: 18.28 MB / 0.7757 GB, free: 71.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.61, allocations: 87.17 kB / 0.7758 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/1.611, allocations: 185.2 kB / 0.776 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/1.626, allocations: 4.979 MB / 0.7808 GB, free: 70.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007669/1.634, allocations: 2.028 MB / 0.7828 GB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0428/1.677, allocations: 37.06 MB / 0.819 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.687, allocations: 0.6271 MB / 0.8196 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/1.689, allocations: 0.5696 MB / 0.8202 GB, free: 41.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * 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 (1047): * Single equations (assignments): 1036 * 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.00211/1.692, allocations: 0.7995 MB / 0.8209 GB, free: 40.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.693, allocations: 0.5283 MB / 0.8215 GB, free: 40.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02222/1.715, allocations: 11.09 MB / 0.8323 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-05/1.715, allocations: 43.38 kB / 0.8323 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01931/1.735, allocations: 10.15 MB / 0.8422 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/1.735, allocations: 15.91 kB / 0.8423 GB, free: 21.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2635/1.998, allocations: 25.24 MB / 0.8669 GB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/1.998, allocations: 6 kB / 0.8669 GB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/2.001, allocations: 457.2 kB / 0.8674 GB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01355/2.015, allocations: 4.25 MB / 0.8715 GB, free: 72.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007825/2.015, allocations: 75.56 kB / 0.8716 GB, free: 72.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03664/2.052, allocations: 29.35 MB / 0.9002 GB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01528/2.067, allocations: 12.59 MB / 0.9125 GB, free: 59.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02645/2.094, allocations: 15.95 MB / 0.9281 GB, free: 53.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003553/2.098, allocations: 1.203 MB / 0.9293 GB, free: 53.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/2.099, allocations: 60.55 kB / 0.9293 GB, free: 53.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004971/2.104, allocations: 276.6 kB / 0.9296 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/2.105, allocations: 248.3 kB / 0.9298 GB, free: 52.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005382/2.106, allocations: 100 kB / 0.9299 GB, free: 52.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005831/2.112, allocations: 3.499 MB / 0.9333 GB, free: 51.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.112, allocations: 1.469 kB / 0.9334 GB, free: 51.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0104/2.122, allocations: 2.389 MB / 0.9357 GB, free: 50.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.R_rel.w[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 195 * 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.001301/2.123, allocations: 259.7 kB / 0.9359 GB, free: 50.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01593/2.139, allocations: 11.11 MB / 0.9468 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.139, allocations: 0 / 0.9468 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006611/2.146, allocations: 4.599 MB / 0.9513 GB, free: 36.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/2.15, allocations: 0.756 MB / 0.952 GB, free: 35.49 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/2.173, allocations: 14.03 MB / 0.9657 GB, free: 22.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/2.179, allocations: 5.133 MB / 0.9707 GB, free: 19.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006956/2.186, allocations: 2.755 MB / 0.9734 GB, free: 17.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/2.187, allocations: 373.8 kB / 0.9738 GB, free: 17.03 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/2.187, allocations: 0 / 0.9738 GB, free: 17.03 MB / 378.7 MB Notification: Performance of Templates: time 0.358/2.545, allocations: 92.16 MB / 1.064 GB, free: 69.45 MB / 394.7 MB 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)