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.001365/0.001365, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001583/0.001583, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004794/0.0004795, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06716/0.3172, allocations: 73.72 MB / 400.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03587/0.3531, allocations: 17.29 MB / 417.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01699/0.3701, allocations: 394.9 kB / 417.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.3815, allocations: 3.713 MB / 421.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03275/0.4143, allocations: 10.34 MB / 431.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.42, allocations: 1.178 MB / 433.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008202/0.4283, allocations: 3.718 MB / 436.8 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.4433, allocations: 9.5 MB / 446.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.4472, allocations: 1.76 MB / 448.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.4506, allocations: 2.063 MB / 450.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.4519, allocations: 232 kB / 450.4 MB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.455, allocations: 1.244 MB / 451.6 MB, free: 5.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003471/0.4585, allocations: 2.615 MB / 454.2 MB, free: 3.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.4608, allocations: 1.365 MB / 455.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2181/0.6789, allocations: 9.554 MB / 465.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6789, allocations: 3.844 kB / 465.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6789, allocations: 0 / 465.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006452/0.6796, allocations: 0 / 465.1 MB, free: 13.55 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.02006/0.6997, allocations: 7.185 MB / 472.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6997, allocations: 8.969 kB / 472.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.7119, allocations: 2.632 MB / 475 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.7238, allocations: 4.548 MB / 479.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.7242, allocations: 435.4 kB / 479.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/0.7273, allocations: 0.5787 MB / 480.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/0.765, allocations: 17.04 MB / 497.6 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/0.7654, allocations: 58.88 kB / 497.6 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00193/0.7673, allocations: 268.9 kB / 497.9 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003882/0.7712, allocations: 2.64 MB / 0.4888 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03219/0.8034, allocations: 14.64 MB / 0.5031 GB, free: 14.53 MB / 398.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.09669/0.9001, allocations: 63.5 MB / 0.5651 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02416/0.9244, allocations: 7.855 MB / 0.5728 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03148/0.9559, allocations: 16.94 MB / 0.5893 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.956, allocations: 66.42 kB / 0.5894 GB, free: 7.301 MB / 462.1 MB Notification: Performance of pre-optimization done (n=274): time 6.562e-06/0.956, allocations: 4 kB / 0.5894 GB, free: 7.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=340): time 0.3296/1.286, allocations: 43.73 MB / 0.6321 GB, free: 205.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0199/1.306, allocations: 17.05 MB / 0.6487 GB, free: 196.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007184/1.313, allocations: 5.984 MB / 0.6546 GB, free: 194.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008369/1.314, allocations: 76.52 kB / 0.6547 GB, free: 194.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.316, allocations: 4.748 MB / 0.6593 GB, free: 191.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.318, allocations: 1.269 MB / 0.6605 GB, free: 190.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005107/1.319, allocations: 180.6 kB / 0.6607 GB, free: 190.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004104/1.319, allocations: 0.6965 MB / 0.6614 GB, free: 189.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.324, allocations: 4.07 MB / 0.6654 GB, free: 188.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007266/1.331, allocations: 9.285 MB / 0.6744 GB, free: 179.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007589/1.339, allocations: 6.023 MB / 0.6803 GB, free: 173.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.827e-05/1.339, allocations: 56 kB / 0.6804 GB, free: 173.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03399/1.373, allocations: 17.49 MB / 0.6974 GB, free: 156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.373, allocations: 87.95 kB / 0.6975 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/1.373, allocations: 184 kB / 0.6977 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/1.387, allocations: 4.588 MB / 0.7022 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007509/1.395, allocations: 2.027 MB / 0.7042 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03746/1.432, allocations: 35.05 MB / 0.7384 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/1.443, allocations: 0.5435 MB / 0.7389 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/1.445, allocations: 0.5596 MB / 0.7395 GB, free: 112 MB / 494.1 MB 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 (1066): * Single equations (assignments): 1053 * Array equations: 6 * 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%) 33,(2,100.0%) 19,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.00803/1.453, allocations: 3.27 MB / 0.7427 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.455, allocations: 0.5322 MB / 0.7432 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/1.474, allocations: 9.924 MB / 0.7529 GB, free: 98.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.494e-05/1.475, allocations: 48 kB / 0.7529 GB, free: 98.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01687/1.491, allocations: 8.48 MB / 0.7612 GB, free: 89.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/1.492, allocations: 15.94 kB / 0.7612 GB, free: 89.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04324/1.535, allocations: 22.72 MB / 0.7834 GB, free: 66.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-05/1.535, allocations: 7.984 kB / 0.7834 GB, free: 66.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.538, allocations: 479.8 kB / 0.7839 GB, free: 66.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/1.548, allocations: 3.282 MB / 0.7871 GB, free: 62.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008269/1.549, allocations: 67.98 kB / 0.7871 GB, free: 62.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02953/1.578, allocations: 25.22 MB / 0.8118 GB, free: 37.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01335/1.592, allocations: 11.02 MB / 0.8225 GB, free: 25.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02415/1.616, allocations: 14.72 MB / 0.8369 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004209/1.62, allocations: 1.138 MB / 0.838 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.622, allocations: 56 kB / 0.8381 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/1.626, allocations: 227.3 kB / 0.8383 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008125/1.627, allocations: 233.6 kB / 0.8385 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.627, allocations: 95.98 kB / 0.8386 GB, free: 8.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.238/1.865, allocations: 3.768 MB / 0.8423 GB, free: 181.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.42e-07/1.865, allocations: 0 / 0.8423 GB, free: 181.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01314/1.878, allocations: 2.005 MB / 0.8442 GB, free: 181.4 MB / 494.1 MB 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 (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%) 11,(3,100.0%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001753/1.88, allocations: 273.1 kB / 0.8445 GB, free: 181.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01864/1.899, allocations: 10.67 MB / 0.8549 GB, free: 180 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.899, allocations: 3.938 kB / 0.8549 GB, free: 180 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006378/1.905, allocations: 4.151 MB / 0.859 GB, free: 179 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.91, allocations: 0.7477 MB / 0.8597 GB, free: 178.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03383/1.944, allocations: 18.89 MB / 0.8781 GB, free: 169.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0172/1.961, allocations: 5.139 MB / 0.8832 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01546/1.977, allocations: 2.788 MB / 0.8859 GB, free: 164.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002864/1.98, allocations: 371.2 kB / 0.8862 GB, free: 164.1 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.98, allocations: 3.938 kB / 0.8862 GB, free: 164.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1961/2.176, allocations: 84.26 MB / 0.9685 GB, free: 84.02 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: