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.001052/0.001052, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001243/0.001243, allocations: 168.7 kB / 15.95 MB, free: 204 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004607/0.0004608, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2478, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06928/0.3171, allocations: 78.1 MB / 404.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0412/0.3583, allocations: 16.53 MB / 421.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01579/0.3742, allocations: 390.9 kB / 421.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0121/0.3863, allocations: 3.643 MB / 425.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03139/0.4178, allocations: 10.58 MB / 435.7 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.4227, allocations: 1.041 MB / 436.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.4334, allocations: 7.759 MB / 444.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/0.4481, allocations: 9.562 MB / 454.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.4526, allocations: 2.152 MB / 456.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2251/0.6778, allocations: 3.044 MB / 459.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.679, allocations: 228.8 kB / 459.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.6824, allocations: 1.283 MB / 460.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002985/0.6854, allocations: 2.818 MB / 463.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.6869, allocations: 1.361 MB / 465 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008869/0.6958, allocations: 9.531 MB / 474.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6958, allocations: 3.812 kB / 474.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6958, allocations: 0 / 474.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004733/0.6963, allocations: 0 / 474.5 MB, free: 10.11 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.01587/0.7122, allocations: 6.905 MB / 481.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.7122, allocations: 9.156 kB / 481.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007864/0.7201, allocations: 2.315 MB / 483.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007447/0.7276, allocations: 4.103 MB / 487.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.7278, allocations: 431.7 kB / 488.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.7291, allocations: 0.584 MB / 488.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02921/0.7583, allocations: 16.8 MB / 0.4938 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.7585, allocations: 59.41 kB / 0.4938 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007336/0.7593, allocations: 271.6 kB / 0.4941 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.7629, allocations: 2.666 MB / 0.4967 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02942/0.7923, allocations: 14.37 MB / 0.5107 GB, free: 7.863 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.09191/0.8843, allocations: 63.25 MB / 0.5725 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0215/0.9058, allocations: 7.731 MB / 0.58 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006085/0.9119, allocations: 3.982 MB / 0.5839 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02841/0.9404, allocations: 16.78 MB / 0.6003 GB, free: 9.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.383e-05/0.9405, allocations: 58.44 kB / 0.6004 GB, free: 9.785 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 6.462e-06/0.9405, allocations: 0 / 0.6004 GB, free: 9.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=325): time 0.3091/1.25, allocations: 39.93 MB / 0.6394 GB, free: 199.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01478/1.264, allocations: 11.6 MB / 0.6507 GB, free: 193.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007622/1.272, allocations: 5.712 MB / 0.6563 GB, free: 191.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009134/1.273, allocations: 77.19 kB / 0.6564 GB, free: 191.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.276, allocations: 4.733 MB / 0.661 GB, free: 187.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.278, allocations: 1.223 MB / 0.6622 GB, free: 187 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/1.278, allocations: 178.4 kB / 0.6623 GB, free: 186.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000392/1.279, allocations: 0.6894 MB / 0.663 GB, free: 186.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/1.284, allocations: 3.988 MB / 0.6669 GB, free: 185 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007524/1.291, allocations: 9.225 MB / 0.6759 GB, free: 175.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/1.3, allocations: 5.917 MB / 0.6817 GB, free: 170.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/1.3, allocations: 52 kB / 0.6817 GB, free: 170.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03418/1.334, allocations: 16.91 MB / 0.6983 GB, free: 153.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/1.334, allocations: 87.95 kB / 0.6983 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/1.335, allocations: 184.9 kB / 0.6985 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/1.347, allocations: 4.238 MB / 0.7027 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006567/1.353, allocations: 2.074 MB / 0.7047 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03261/1.386, allocations: 30.42 MB / 0.7344 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008214/1.394, allocations: 0.5421 MB / 0.7349 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.396, allocations: 0.5585 MB / 0.7355 GB, free: 114.3 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 (1083): * Single equations (assignments): 1070 * 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%) 25,(2,100.0%) 11,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.006965/1.403, allocations: 3.245 MB / 0.7386 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.404, allocations: 0.5284 MB / 0.7391 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01885/1.423, allocations: 9.387 MB / 0.7483 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-05/1.423, allocations: 44 kB / 0.7484 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01576/1.439, allocations: 7.973 MB / 0.7561 GB, free: 92.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.912e-05/1.439, allocations: 15.94 kB / 0.7562 GB, free: 92.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04246/1.482, allocations: 21.94 MB / 0.7776 GB, free: 70.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-05/1.482, allocations: 4 kB / 0.7776 GB, free: 70.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.484, allocations: 0.5032 MB / 0.7781 GB, free: 70.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009198/1.494, allocations: 3.038 MB / 0.781 GB, free: 67.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006605/1.494, allocations: 67.94 kB / 0.7811 GB, free: 67.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02575/1.52, allocations: 21.58 MB / 0.8022 GB, free: 45.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01059/1.531, allocations: 8.873 MB / 0.8108 GB, free: 35.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/1.553, allocations: 13.18 MB / 0.8237 GB, free: 22.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004664/1.558, allocations: 1.103 MB / 0.8248 GB, free: 21.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001939/1.56, allocations: 63.39 kB / 0.8249 GB, free: 21.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003998/1.564, allocations: 219.7 kB / 0.8251 GB, free: 21.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.565, allocations: 213.5 kB / 0.8253 GB, free: 20.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000567/1.566, allocations: 99.97 kB / 0.8254 GB, free: 20.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006957/1.573, allocations: 3.551 MB / 0.8288 GB, free: 17.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.573, allocations: 0 / 0.8288 GB, free: 17.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01223/1.585, allocations: 1.922 MB / 0.8307 GB, free: 15.39 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 (229): * Single equations (assignments): 221 * 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%) 22,(3,100.0%) 13} * Non-linear torn systems: 1 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/1.586, allocations: 251.2 kB / 0.831 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.198/1.784, allocations: 10.29 MB / 0.841 GB, free: 186.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.784, allocations: 3.5 kB / 0.841 GB, free: 186.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006029/1.79, allocations: 3.88 MB / 0.8448 GB, free: 186.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/1.795, allocations: 0.7923 MB / 0.8456 GB, free: 186 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/1.819, allocations: 18.64 MB / 0.8638 GB, free: 178.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006428/1.826, allocations: 4.942 MB / 0.8686 GB, free: 176.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007422/1.833, allocations: 2.825 MB / 0.8714 GB, free: 176.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.835, allocations: 365 kB / 0.8717 GB, free: 176.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.562e-06/1.835, allocations: 0 / 0.8717 GB, free: 176.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1161/1.951, allocations: 79.25 MB / 0.9491 GB, free: 104.7 MB / 494.1 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)