Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001126/0.001126, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001203/0.001203, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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.001211/0.001211, allocations: 51.92 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 46.63 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02168/0.1414, allocations: 19.72 MB / 346.3 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.1576, allocations: 6.284 MB / 352.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004796/0.1624, allocations: 151.5 kB / 352.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.1732, allocations: 6.059 MB / 358.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008239/0.1815, allocations: 2.649 MB / 361.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006022/0.1875, allocations: 2.405 MB / 363.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.1984, allocations: 6.685 MB / 370.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.2089, allocations: 8.156 MB / 378.7 MB, free: 88 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.217/0.426, allocations: 2.9 MB / 381.6 MB, free: 17.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007855/0.4339, allocations: 3.611 MB / 385.2 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00366/0.4376, allocations: 0.65 MB / 385.9 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007494/0.4451, allocations: 1.852 MB / 387.7 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006248/0.4514, allocations: 3.383 MB / 391.1 MB, free: 17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008404/0.4598, allocations: 3.853 MB / 395 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.4749, allocations: 11.94 MB / 406.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.4749, allocations: 0 / 406.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4749, allocations: 0 / 406.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004917/0.4754, allocations: 0 / 406.9 MB, free: 11.59 MB / 318.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.02268/0.4981, allocations: 8.357 MB / 415.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4982, allocations: 14.3 kB / 415.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009968/0.5082, allocations: 2.268 MB / 417.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.5201, allocations: 4.185 MB / 421.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.5205, allocations: 436.6 kB / 422.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/0.5231, allocations: 0.5795 MB / 422.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04607/0.5691, allocations: 16.8 MB / 439.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002417/0.5694, allocations: 62.73 kB / 439.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.5705, allocations: 269.3 kB / 439.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004145/0.5746, allocations: 2.635 MB / 442.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0306/0.6053, allocations: 14.39 MB / 456.9 MB, free: 14.8 MB / 366.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.09207/0.6974, allocations: 63.31 MB / 0.508 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0235/0.7209, allocations: 7.662 MB / 0.5155 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005748/0.7267, allocations: 3.99 MB / 0.5194 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03081/0.7575, allocations: 16.79 MB / 0.5358 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/0.7576, allocations: 64.56 kB / 0.5359 GB, free: 1.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 7.033e-06/0.7577, allocations: 0 / 0.5359 GB, free: 1.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.3722/1.13, allocations: 42.91 MB / 0.5778 GB, free: 138.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02067/1.151, allocations: 16.71 MB / 0.5941 GB, free: 121.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/1.162, allocations: 5.742 MB / 0.5997 GB, free: 115.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001141/1.163, allocations: 77.7 kB / 0.5998 GB, free: 115.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002706/1.165, allocations: 4.742 MB / 0.6044 GB, free: 111 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00225/1.168, allocations: 1.269 MB / 0.6056 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00281/1.171, allocations: 1.914 MB / 0.6075 GB, free: 107.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/1.171, allocations: 301.1 kB / 0.6078 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/1.175, allocations: 4.121 MB / 0.6118 GB, free: 103.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007366/1.183, allocations: 9.389 MB / 0.621 GB, free: 91.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/1.198, allocations: 14.61 MB / 0.6353 GB, free: 74.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/1.198, allocations: 53.41 kB / 0.6353 GB, free: 74.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03793/1.236, allocations: 17.61 MB / 0.6525 GB, free: 56.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/1.237, allocations: 80.22 kB / 0.6526 GB, free: 56.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003118/1.237, allocations: 188 kB / 0.6528 GB, free: 56.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/1.251, allocations: 4.578 MB / 0.6572 GB, free: 52.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/1.259, allocations: 2.043 MB / 0.6592 GB, free: 50.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03982/1.299, allocations: 36.4 MB / 0.6948 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2411/1.54, allocations: 0.5414 MB / 0.6953 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002346/1.542, allocations: 0.5591 MB / 0.6958 GB, free: 133.9 MB / 446.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 (1074): * Single equations (assignments): 1061 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.00937/1.552, allocations: 3.273 MB / 0.699 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.553, allocations: 0.5334 MB / 0.6996 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/1.575, allocations: 9.946 MB / 0.7093 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/1.575, allocations: 45.25 kB / 0.7093 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01824/1.594, allocations: 8.512 MB / 0.7176 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.35e-05/1.594, allocations: 18.03 kB / 0.7176 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03901/1.633, allocations: 22.73 MB / 0.7398 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/1.633, allocations: 6.281 kB / 0.7398 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.635, allocations: 483.9 kB / 0.7403 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009806/1.645, allocations: 3.239 MB / 0.7435 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006519/1.646, allocations: 60.3 kB / 0.7435 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02911/1.675, allocations: 26.41 MB / 0.7693 GB, free: 93.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01236/1.687, allocations: 10.78 MB / 0.7798 GB, free: 82.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02241/1.71, allocations: 13.92 MB / 0.7934 GB, free: 68.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.713, allocations: 1.124 MB / 0.7945 GB, free: 67.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.714, allocations: 61.16 kB / 0.7946 GB, free: 67.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/1.717, allocations: 219.7 kB / 0.7948 GB, free: 67.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.718, allocations: 233.2 kB / 0.795 GB, free: 67.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.718, allocations: 94.98 kB / 0.7951 GB, free: 67.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005852/1.724, allocations: 3.582 MB / 0.7986 GB, free: 63.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.11e-07/1.724, allocations: 0 / 0.7986 GB, free: 63.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01185/1.736, allocations: 1.986 MB / 0.8006 GB, free: 61.5 MB / 446.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/1.737, allocations: 276.1 kB / 0.8008 GB, free: 61.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02172/1.759, allocations: 14.34 MB / 0.8148 GB, free: 46.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.759, allocations: 0 / 0.8148 GB, free: 46.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006092/1.765, allocations: 4.172 MB / 0.8189 GB, free: 42.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/1.771, allocations: 0.8508 MB / 0.8197 GB, free: 41.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/1.802, allocations: 16.36 MB / 0.8357 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006483/1.809, allocations: 4.994 MB / 0.8406 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007516/1.816, allocations: 2.783 MB / 0.8433 GB, free: 17.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.818, allocations: 363.4 kB / 0.8436 GB, free: 17.22 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/1.818, allocations: 0 / 0.8436 GB, free: 17.22 MB / 446.1 MB Notification: Performance of Templates: time 0.3842/2.202, allocations: 90.25 MB / 0.9318 GB, free: 81.84 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)