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.00119/0.00119, allocations: 100.5 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.0009808/0.0009808, allocations: 177.3 kB / 15.94 MB, free: 228 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.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0007532/0.0007535, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2393, allocations: 47.59 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06909/0.3085, allocations: 73.72 MB / 400.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03854/0.3471, allocations: 17.29 MB / 417.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01545/0.3626, allocations: 387 kB / 417.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01243/0.375, allocations: 3.717 MB / 421.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03191/0.407, allocations: 10.34 MB / 431.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005443/0.4124, allocations: 1.19 MB / 433.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007417/0.4199, allocations: 3.71 MB / 436.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.4346, allocations: 9.508 MB / 446.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.4381, allocations: 1.752 MB / 448.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.4415, allocations: 2.067 MB / 450.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.4427, allocations: 228 kB / 450.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.4459, allocations: 1.248 MB / 451.6 MB, free: 5.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003368/0.4493, allocations: 2.615 MB / 454.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.4516, allocations: 1.361 MB / 455.6 MB, free: 1.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2172/0.6688, allocations: 9.554 MB / 465.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6688, allocations: 0 / 465.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6688, allocations: 0 / 465.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005082/0.6694, allocations: 0 / 465.1 MB, free: 13.48 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.01843/0.6878, allocations: 7.185 MB / 472.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6879, allocations: 11.28 kB / 472.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.698, allocations: 2.631 MB / 475 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.7122, allocations: 4.546 MB / 479.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/0.7126, allocations: 434.8 kB / 479.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003679/0.7163, allocations: 0.5808 MB / 480.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03984/0.7562, allocations: 17.04 MB / 497.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003752/0.7566, allocations: 56.06 kB / 497.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002067/0.7587, allocations: 272 kB / 497.9 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00392/0.7626, allocations: 2.638 MB / 0.4888 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0312/0.7938, allocations: 14.65 MB / 0.5031 GB, free: 14.46 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.1097/0.9035, allocations: 63.5 MB / 0.5651 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/0.9276, allocations: 7.846 MB / 0.5728 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03497/0.9626, allocations: 16.94 MB / 0.5893 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.267e-05/0.9627, allocations: 67.48 kB / 0.5894 GB, free: 7.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=274): time 7.945e-06/0.9627, allocations: 0 / 0.5894 GB, free: 7.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=340): time 0.3333/1.296, allocations: 43.74 MB / 0.6321 GB, free: 205.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0213/1.317, allocations: 17.04 MB / 0.6487 GB, free: 196.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/1.329, allocations: 5.979 MB / 0.6546 GB, free: 194.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001291/1.331, allocations: 78.34 kB / 0.6546 GB, free: 194.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003605/1.334, allocations: 4.752 MB / 0.6593 GB, free: 191.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002074/1.337, allocations: 1.275 MB / 0.6605 GB, free: 190.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/1.338, allocations: 180 kB / 0.6607 GB, free: 190.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0009322/1.339, allocations: 0.694 MB / 0.6614 GB, free: 189.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007093/1.346, allocations: 4.068 MB / 0.6653 GB, free: 188.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.357, allocations: 9.287 MB / 0.6744 GB, free: 179.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008985/1.366, allocations: 6.032 MB / 0.6803 GB, free: 173.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001855/1.366, allocations: 52 kB / 0.6804 GB, free: 173.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03795/1.404, allocations: 17.48 MB / 0.6974 GB, free: 156.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/1.405, allocations: 87.95 kB / 0.6975 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003057/1.405, allocations: 184 kB / 0.6977 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01422/1.419, allocations: 4.587 MB / 0.7022 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007835/1.427, allocations: 2.024 MB / 0.7041 GB, free: 149.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03972/1.467, allocations: 35.07 MB / 0.7384 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.477, allocations: 0.5383 MB / 0.7389 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/1.48, allocations: 0.5583 MB / 0.7395 GB, free: 112.2 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.009813/1.49, allocations: 3.277 MB / 0.7427 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002255/1.492, allocations: 0.5283 MB / 0.7432 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02352/1.515, allocations: 9.931 MB / 0.7529 GB, free: 98.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-05/1.516, allocations: 44 kB / 0.7529 GB, free: 98.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01672/1.532, allocations: 8.484 MB / 0.7612 GB, free: 89.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/1.532, allocations: 15.94 kB / 0.7612 GB, free: 89.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05079/1.583, allocations: 22.71 MB / 0.7834 GB, free: 66.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/1.583, allocations: 8 kB / 0.7834 GB, free: 66.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.586, allocations: 491.8 kB / 0.7839 GB, free: 66.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/1.596, allocations: 3.282 MB / 0.7871 GB, free: 62.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/1.597, allocations: 63.98 kB / 0.7871 GB, free: 62.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02911/1.626, allocations: 25.21 MB / 0.8117 GB, free: 37.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01317/1.64, allocations: 11.03 MB / 0.8225 GB, free: 25.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/1.663, allocations: 14.71 MB / 0.8369 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004065/1.667, allocations: 1.138 MB / 0.838 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.669, allocations: 63.98 kB / 0.8381 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003542/1.672, allocations: 225.4 kB / 0.8383 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009077/1.673, allocations: 233.6 kB / 0.8385 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/1.674, allocations: 95.98 kB / 0.8386 GB, free: 8.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2302/1.904, allocations: 3.763 MB / 0.8423 GB, free: 181.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.883e-06/1.904, allocations: 0.5625 kB / 0.8423 GB, free: 181.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0132/1.917, allocations: 2.001 MB / 0.8442 GB, free: 181.6 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.001206/1.918, allocations: 274.7 kB / 0.8445 GB, free: 181.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01656/1.935, allocations: 10.67 MB / 0.8549 GB, free: 180.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.935, allocations: 0 / 0.8549 GB, free: 180.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006195/1.941, allocations: 4.156 MB / 0.859 GB, free: 179.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/1.946, allocations: 0.7513 MB / 0.8597 GB, free: 178.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/1.982, allocations: 18.89 MB / 0.8781 GB, free: 169.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009807/1.992, allocations: 5.148 MB / 0.8832 GB, free: 166.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007754/2, allocations: 2.79 MB / 0.8859 GB, free: 164.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/2.001, allocations: 358.5 kB / 0.8862 GB, free: 164.3 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/2.001, allocations: 0 / 0.8862 GB, free: 164.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1372/2.138, allocations: 84.27 MB / 0.9685 GB, free: 84.34 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: