Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002671/0.00267, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.712/3.712, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002821/0.002821, allocations: 86.94 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007025/0.0007025, allocations: 15.98 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1824, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.5977/0.7802, allocations: 73.72 MB / 448.3 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.08394/0.8642, allocations: 17.3 MB / 465.6 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02867/0.893, allocations: 383 kB / 465.9 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02186/0.9149, allocations: 3.721 MB / 469.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06626/0.9812, allocations: 10.35 MB / 480 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.993, allocations: 1.178 MB / 481.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01613/1.009, allocations: 3.723 MB / 484.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03294/1.042, allocations: 9.505 MB / 494.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007322/1.05, allocations: 1.752 MB / 496.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00745/1.057, allocations: 2.067 MB / 498.2 MB, free: 424 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002658/1.06, allocations: 228 kB / 498.4 MB, free: 196 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007237/1.067, allocations: 1.252 MB / 499.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007638/1.075, allocations: 2.615 MB / 0.4905 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004936/1.08, allocations: 1.361 MB / 0.4919 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02511/1.105, allocations: 9.555 MB / 0.5012 GB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.105, allocations: 0 / 0.5012 GB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.105, allocations: 0 / 0.5012 GB, free: 1.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005686/1.106, allocations: 0 / 0.5012 GB, free: 1.363 MB / 378.7 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.04211/1.148, allocations: 7.184 MB / 0.5082 GB, free: 10.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/1.148, allocations: 8.031 kB / 0.5082 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02565/1.174, allocations: 2.639 MB / 0.5108 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02377/1.198, allocations: 4.548 MB / 0.5152 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/1.199, allocations: 435.2 kB / 0.5157 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005469/1.204, allocations: 0.5816 MB / 0.5162 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8924/2.097, allocations: 17.04 MB / 0.5329 GB, free: 128.7 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006398/2.098, allocations: 59.62 kB / 0.5329 GB, free: 128.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004519/2.102, allocations: 269.1 kB / 0.5332 GB, free: 128.7 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01365/2.116, allocations: 2.635 MB / 0.5358 GB, free: 128.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08479/2.201, allocations: 14.66 MB / 0.5501 GB, free: 124.5 MB / 410.8 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.1906/2.391, allocations: 63.5 MB / 0.6121 GB, free: 63.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06544/2.457, allocations: 7.857 MB / 0.6197 GB, free: 55.28 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0641/2.521, allocations: 16.93 MB / 0.6363 GB, free: 37.91 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/2.521, allocations: 64.56 kB / 0.6363 GB, free: 37.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=274): time 1.203e-05/2.521, allocations: 0 / 0.6363 GB, free: 37.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=340): time 0.3663/2.888, allocations: 43.75 MB / 0.6791 GB, free: 9.754 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5041/3.392, allocations: 17.03 MB / 0.6957 GB, free: 130.7 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02597/3.418, allocations: 5.982 MB / 0.7015 GB, free: 128.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001491/3.419, allocations: 79.98 kB / 0.7016 GB, free: 128.8 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006978/3.427, allocations: 4.588 MB / 0.7061 GB, free: 125.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003486/3.43, allocations: 1.274 MB / 0.7073 GB, free: 124.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002438/3.433, allocations: 181.3 kB / 0.7075 GB, free: 124.7 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001528/3.434, allocations: 0.7052 MB / 0.7082 GB, free: 124.2 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01897/3.453, allocations: 4.069 MB / 0.7122 GB, free: 122.8 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02289/3.476, allocations: 9.291 MB / 0.7212 GB, free: 114.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02339/3.5, allocations: 6.018 MB / 0.7271 GB, free: 112 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003126/3.5, allocations: 51.28 kB / 0.7272 GB, free: 112 MB / 426.8 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.101/3.601, allocations: 17.29 MB / 0.7441 GB, free: 101.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002445/3.601, allocations: 85.72 kB / 0.7441 GB, free: 101.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004456/3.602, allocations: 184 kB / 0.7443 GB, free: 101.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04537/3.647, allocations: 4.588 MB / 0.7488 GB, free: 97.03 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/3.668, allocations: 2.027 MB / 0.7508 GB, free: 95 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1217/3.789, allocations: 35.06 MB / 0.785 GB, free: 59.01 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02177/3.811, allocations: 0.5392 MB / 0.7855 GB, free: 58.47 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003939/3.815, allocations: 0.564 MB / 0.7861 GB, free: 57.91 MB / 426.8 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.01572/3.831, allocations: 3.268 MB / 0.7893 GB, free: 54.63 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003156/3.834, allocations: 0.5283 MB / 0.7898 GB, free: 54.09 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05448/3.889, allocations: 9.935 MB / 0.7995 GB, free: 44.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001359/3.889, allocations: 43.98 kB / 0.7995 GB, free: 43.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.04656/3.935, allocations: 8.477 MB / 0.8078 GB, free: 35.38 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/3.936, allocations: 20.44 kB / 0.8078 GB, free: 35.36 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1076/4.043, allocations: 22.72 MB / 0.83 GB, free: 12.47 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.166e-05/4.043, allocations: 8 kB / 0.83 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007194/4.051, allocations: 479.9 kB / 0.8305 GB, free: 11.99 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03081/4.082, allocations: 3.286 MB / 0.8337 GB, free: 8.695 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001439/4.083, allocations: 61.09 kB / 0.8338 GB, free: 8.637 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5764/4.66, allocations: 25.2 MB / 0.8584 GB, free: 125.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04377/4.703, allocations: 11.03 MB / 0.8692 GB, free: 119.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07148/4.775, allocations: 14.73 MB / 0.8835 GB, free: 113 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007761/4.783, allocations: 1.133 MB / 0.8846 GB, free: 112.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003552/4.786, allocations: 56.72 kB / 0.8847 GB, free: 112.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/4.797, allocations: 226.4 kB / 0.8849 GB, free: 112.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003192/4.801, allocations: 230.8 kB / 0.8851 GB, free: 112.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001625/4.802, allocations: 94.14 kB / 0.8852 GB, free: 112.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01546/4.818, allocations: 3.764 MB / 0.8889 GB, free: 111.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.613e-06/4.818, allocations: 0 / 0.8889 GB, free: 111.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.02445/4.842, allocations: 2.01 MB / 0.8909 GB, free: 111.1 MB / 442.8 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.00273/4.845, allocations: 279 kB / 0.8911 GB, free: 110.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03697/4.882, allocations: 10.67 MB / 0.9015 GB, free: 103.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/4.882, allocations: 4 kB / 0.9016 GB, free: 103.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01532/4.898, allocations: 4.149 MB / 0.9056 GB, free: 99.58 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/4.908, allocations: 0.7531 MB / 0.9063 GB, free: 98.95 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06636/4.974, allocations: 19.67 MB / 0.9255 GB, free: 81.06 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01737/4.992, allocations: 5.141 MB / 0.9306 GB, free: 75.89 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004496/4.996, allocations: 427.4 kB / 0.931 GB, free: 75.47 MB / 442.8 MB Notification: Performance of SimCode: time 3.647e-06/4.996, allocations: 4 kB / 0.931 GB, free: 75.46 MB / 442.8 MB Notification: Performance of Templates: time 1.169/6.165, allocations: 246.3 MB / 1.172 GB, free: 4.52 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)