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.001514/0.001521, allocations: 113.7 kB / 17.07 MB, free: 5.973 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.001827/0.001827, allocations: 198.8 kB / 18 MB, free: 5.059 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.554/1.554, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001331/0.001331, allocations: 47.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.312/0.4143, allocations: 19.74 MB / 394.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.4344, allocations: 6.282 MB / 400.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007778/0.4424, allocations: 147.5 kB / 400.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01384/0.4562, allocations: 6.062 MB / 406.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.4673, allocations: 2.654 MB / 409.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006911/0.4742, allocations: 2.404 MB / 411.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01371/0.488, allocations: 6.669 MB / 418.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01431/0.5023, allocations: 8.155 MB / 426.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007412/0.5098, allocations: 2.91 MB / 429.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006798/0.5167, allocations: 3.61 MB / 433.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002473/0.5192, allocations: 0.6523 MB / 433.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006274/0.5255, allocations: 1.849 MB / 435.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005264/0.5308, allocations: 3.379 MB / 439 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0089/0.5397, allocations: 3.854 MB / 442.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02236/0.5621, allocations: 12.25 MB / 455.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.5622, allocations: 7.938 kB / 455.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.5622, allocations: 0 / 455.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007046/0.5629, allocations: 0 / 455.1 MB, free: 14.66 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.03172/0.5947, allocations: 8.35 MB / 463.4 MB, free: 6.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5947, allocations: 12.03 kB / 463.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009732/0.6045, allocations: 2.273 MB / 465.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.6162, allocations: 4.282 MB / 470 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/0.6168, allocations: 435.7 kB / 470.4 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003227/0.62, allocations: 0.5932 MB / 471 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03828/0.6583, allocations: 16.79 MB / 487.8 MB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002873/0.6587, allocations: 59.52 kB / 487.9 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/0.6597, allocations: 267.8 kB / 488.1 MB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004622/0.6644, allocations: 2.639 MB / 490.8 MB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03192/0.6963, allocations: 14.4 MB / 0.4933 GB, free: 11.47 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.3752/1.072, allocations: 62.99 MB / 0.5549 GB, free: 113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02499/1.097, allocations: 7.65 MB / 0.5623 GB, free: 112.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00659/1.103, allocations: 4.005 MB / 0.5662 GB, free: 112.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02626/1.13, allocations: 16.78 MB / 0.5826 GB, free: 104.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/1.13, allocations: 69.38 kB / 0.5827 GB, free: 104.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 6.041e-06/1.13, allocations: 0 / 0.5827 GB, free: 104.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1126/1.242, allocations: 42.9 MB / 0.6246 GB, free: 72.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02081/1.263, allocations: 16.69 MB / 0.6409 GB, free: 55.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008346/1.272, allocations: 5.747 MB / 0.6465 GB, free: 49.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001152/1.273, allocations: 77.7 kB / 0.6466 GB, free: 49.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.276, allocations: 4.731 MB / 0.6512 GB, free: 45.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.277, allocations: 1.273 MB / 0.6524 GB, free: 43.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002592/1.28, allocations: 1.915 MB / 0.6543 GB, free: 41.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.28, allocations: 301.1 kB / 0.6546 GB, free: 41.58 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004911/1.285, allocations: 4.125 MB / 0.6586 GB, free: 37.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007222/1.292, allocations: 9.385 MB / 0.6678 GB, free: 25.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.307, allocations: 14.62 MB / 0.6821 GB, free: 8.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/1.308, allocations: 56 kB / 0.6821 GB, free: 8.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03748/1.345, allocations: 17.61 MB / 0.6993 GB, free: 6.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.345, allocations: 84 kB / 0.6994 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/1.345, allocations: 188.1 kB / 0.6996 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/1.361, allocations: 4.562 MB / 0.704 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/1.369, allocations: 2.039 MB / 0.706 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04979/1.419, allocations: 36.37 MB / 0.7415 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009421/1.428, allocations: 0.5383 MB / 0.7421 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00255/1.431, allocations: 0.5702 MB / 0.7426 GB, free: 9.469 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.007855/1.439, allocations: 3.273 MB / 0.7458 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/1.441, allocations: 0.5282 MB / 0.7463 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3552/1.796, allocations: 9.937 MB / 0.756 GB, free: 188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001444/1.796, allocations: 51.52 kB / 0.7561 GB, free: 188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02315/1.819, allocations: 8.512 MB / 0.7644 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001574/1.819, allocations: 14.81 kB / 0.7644 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0505/1.87, allocations: 22.65 MB / 0.7865 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-05/1.87, allocations: 3.938 kB / 0.7865 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/1.873, allocations: 486.4 kB / 0.787 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/1.883, allocations: 3.229 MB / 0.7901 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008246/1.884, allocations: 61.22 kB / 0.7902 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03253/1.917, allocations: 26.39 MB / 0.816 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01315/1.93, allocations: 10.77 MB / 0.8265 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02486/1.955, allocations: 13.91 MB / 0.8401 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004166/1.959, allocations: 1.123 MB / 0.8412 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.96, allocations: 59.98 kB / 0.8412 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/1.963, allocations: 215.7 kB / 0.8414 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000952/1.964, allocations: 240.3 kB / 0.8417 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.965, allocations: 95.89 kB / 0.8418 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005488/1.97, allocations: 3.586 MB / 0.8453 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.97, allocations: 0 / 0.8453 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01157/1.982, allocations: 1.985 MB / 0.8472 GB, free: 127.8 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.001078/1.983, allocations: 273.7 kB / 0.8475 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01504/1.998, allocations: 10.81 MB / 0.858 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.998, allocations: 2.297 kB / 0.858 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006986/2.005, allocations: 4.173 MB / 0.8621 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006435/2.011, allocations: 0.8558 MB / 0.8629 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/2.042, allocations: 16.18 MB / 0.8787 GB, free: 95.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006829/2.049, allocations: 4.987 MB / 0.8836 GB, free: 90.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006545/2.056, allocations: 2.787 MB / 0.8863 GB, free: 87.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/2.057, allocations: 359.4 kB / 0.8867 GB, free: 87.4 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/2.057, allocations: 0 / 0.8867 GB, free: 87.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.3841/2.441, allocations: 86.06 MB / 0.9707 GB, free: 176.9 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)