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.001188/0.001188, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001213/0.001213, allocations: 200 kB / 18.01 MB, free: 5.055 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.663/1.663, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001265/0.001265, allocations: 47.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1006, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2258/0.3264, allocations: 19.74 MB / 394.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.3435, allocations: 6.276 MB / 400.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007425/0.351, allocations: 154.8 kB / 400.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.3637, allocations: 6.058 MB / 406.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009588/0.3733, allocations: 2.658 MB / 409.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.3792, allocations: 2.404 MB / 411.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3905, allocations: 6.669 MB / 418.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009426/0.4, allocations: 8.149 MB / 426.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005765/0.4058, allocations: 2.906 MB / 429.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005899/0.4117, allocations: 3.622 MB / 433.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002249/0.414, allocations: 0.6523 MB / 433.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/0.419, allocations: 1.845 MB / 435.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004542/0.4236, allocations: 3.437 MB / 439 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006921/0.4305, allocations: 3.85 MB / 442.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.449, allocations: 12.27 MB / 455.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4491, allocations: 0 / 455.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.4491, allocations: 4 kB / 455.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004792/0.4496, allocations: 0 / 455.2 MB, free: 14.61 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.02366/0.4733, allocations: 8.346 MB / 463.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4733, allocations: 12.03 kB / 463.5 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009517/0.4829, allocations: 2.265 MB / 465.8 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.4958, allocations: 4.29 MB / 470.1 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/0.4962, allocations: 439.7 kB / 470.5 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/0.4988, allocations: 0.5816 MB / 471.1 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03331/0.5322, allocations: 16.8 MB / 487.9 MB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002145/0.5324, allocations: 59.47 kB / 487.9 MB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/0.5336, allocations: 267.8 kB / 488.2 MB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/0.5375, allocations: 2.635 MB / 490.8 MB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02988/0.5674, allocations: 14.41 MB / 0.4934 GB, free: 11.43 MB / 430.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.556/1.123, allocations: 62.99 MB / 0.5549 GB, free: 111.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02498/1.148, allocations: 7.653 MB / 0.5624 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006299/1.155, allocations: 3.996 MB / 0.5663 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02826/1.183, allocations: 16.79 MB / 0.5827 GB, free: 102.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/1.183, allocations: 62.22 kB / 0.5828 GB, free: 102.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 6.122e-06/1.183, allocations: 2.188 kB / 0.5828 GB, free: 102.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1105/1.294, allocations: 42.9 MB / 0.6246 GB, free: 71.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01865/1.312, allocations: 16.7 MB / 0.641 GB, free: 53.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/1.319, allocations: 5.739 MB / 0.6466 GB, free: 48.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008297/1.32, allocations: 77.7 kB / 0.6466 GB, free: 48.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/1.322, allocations: 4.732 MB / 0.6513 GB, free: 43.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.323, allocations: 1.273 MB / 0.6525 GB, free: 42.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/1.325, allocations: 1.915 MB / 0.6544 GB, free: 40.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/1.325, allocations: 305.2 kB / 0.6547 GB, free: 39.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/1.33, allocations: 4.121 MB / 0.6587 GB, free: 35.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006719/1.337, allocations: 9.379 MB / 0.6678 GB, free: 23.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.351, allocations: 14.62 MB / 0.6821 GB, free: 6.871 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/1.351, allocations: 52 kB / 0.6822 GB, free: 6.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03636/1.388, allocations: 17.61 MB / 0.6994 GB, free: 5.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.388, allocations: 87.94 kB / 0.6995 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/1.388, allocations: 187.9 kB / 0.6996 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/1.403, allocations: 4.56 MB / 0.7041 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007356/1.411, allocations: 2.039 MB / 0.7061 GB, free: 14.28 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0487/1.459, allocations: 36.36 MB / 0.7416 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0089/1.468, allocations: 0.5422 MB / 0.7421 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/1.47, allocations: 0.574 MB / 0.7427 GB, free: 7.848 MB / 0.5294 GB 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.00836/1.479, allocations: 3.276 MB / 0.7459 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.481, allocations: 0.5206 MB / 0.7464 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3225/1.803, allocations: 9.939 MB / 0.7561 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/1.803, allocations: 50.2 kB / 0.7561 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01989/1.823, allocations: 8.508 MB / 0.7644 GB, free: 186 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/1.823, allocations: 16.64 kB / 0.7645 GB, free: 186 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04893/1.872, allocations: 22.65 MB / 0.7866 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/1.872, allocations: 7.844 kB / 0.7866 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/1.875, allocations: 490.9 kB / 0.7871 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.886, allocations: 3.22 MB / 0.7902 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009234/1.887, allocations: 65.66 kB / 0.7903 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03187/1.919, allocations: 26.39 MB / 0.816 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01251/1.931, allocations: 10.76 MB / 0.8265 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.955, allocations: 13.91 MB / 0.8401 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00483/1.96, allocations: 1.117 MB / 0.8412 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/1.962, allocations: 59.98 kB / 0.8413 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004047/1.966, allocations: 219.2 kB / 0.8415 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/1.967, allocations: 241.5 kB / 0.8417 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.967, allocations: 91.98 kB / 0.8418 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006129/1.973, allocations: 3.587 MB / 0.8453 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.31e-07/1.973, allocations: 0 / 0.8453 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01241/1.986, allocations: 1.99 MB / 0.8473 GB, free: 124.6 MB / 0.5294 GB 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.001309/1.987, allocations: 269.8 kB / 0.8475 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.004, allocations: 10.82 MB / 0.8581 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/2.004, allocations: 0 / 0.8581 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006555/2.01, allocations: 4.176 MB / 0.8622 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007027/2.017, allocations: 0.8519 MB / 0.863 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/2.046, allocations: 16.18 MB / 0.8788 GB, free: 92.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007637/2.054, allocations: 4.987 MB / 0.8837 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006627/2.061, allocations: 2.787 MB / 0.8864 GB, free: 84.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/2.062, allocations: 367.4 kB / 0.8867 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/2.062, allocations: 0 / 0.8867 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.4557/2.518, allocations: 86.68 MB / 0.9714 GB, free: 173.7 MB / 0.5294 GB 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)