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.001387/0.001387, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001759/0.001759, allocations: 189.3 kB / 16.25 MB, free: 6.629 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.592/1.592, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.001572/0.001573, allocations: 43.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2748, allocations: 46.64 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.08214/0.357, allocations: 86.08 MB / 410.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05467/0.4118, allocations: 17.24 MB / 428.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02426/0.4362, allocations: 390.9 kB / 428.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01676/0.453, allocations: 5.871 MB / 434.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.4653, allocations: 2.464 MB / 436.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008819/0.4741, allocations: 2.308 MB / 439.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01476/0.4889, allocations: 6.727 MB / 445.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01689/0.5059, allocations: 8.606 MB / 454.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2854/0.7913, allocations: 2.966 MB / 457.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007687/0.7991, allocations: 3.999 MB / 461.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003133/0.8022, allocations: 0.6488 MB / 462.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.8087, allocations: 1.875 MB / 464 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005574/0.8143, allocations: 3.427 MB / 467.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00668/0.821, allocations: 3.885 MB / 471.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.8364, allocations: 12.02 MB / 483.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8365, allocations: 0 / 483.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8365, allocations: 2.25 kB / 483.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000547/0.837, allocations: 4.156 kB / 483.4 MB, free: 7.02 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.03168/0.8687, allocations: 8.348 MB / 491.7 MB, free: 3.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.8688, allocations: 9.031 kB / 491.7 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009947/0.8787, allocations: 2.269 MB / 494 MB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.8889, allocations: 4.187 MB / 498.2 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.8894, allocations: 437.5 kB / 498.6 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/0.8926, allocations: 0.5816 MB / 499.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03874/0.9314, allocations: 16.81 MB / 0.5039 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/0.9318, allocations: 57.5 kB / 0.5039 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003244/0.9351, allocations: 262.8 kB / 0.5042 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005194/0.9403, allocations: 2.643 MB / 0.5068 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/0.9757, allocations: 14.39 MB / 0.5208 GB, free: 4.766 MB / 414.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.1041/1.08, allocations: 63.32 MB / 0.5827 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02262/1.103, allocations: 7.651 MB / 0.5901 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006155/1.109, allocations: 3.986 MB / 0.594 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03364/1.142, allocations: 16.8 MB / 0.6104 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.766e-05/1.143, allocations: 66.91 kB / 0.6105 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=274): time 7.173e-06/1.143, allocations: 0 / 0.6105 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=340): time 0.4638/1.606, allocations: 42.9 MB / 0.6524 GB, free: 143 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02166/1.628, allocations: 16.72 MB / 0.6687 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009378/1.637, allocations: 5.745 MB / 0.6743 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.639, allocations: 76.95 kB / 0.6744 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003031/1.642, allocations: 4.737 MB / 0.679 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002179/1.644, allocations: 1.274 MB / 0.6803 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002904/1.647, allocations: 1.912 MB / 0.6821 GB, free: 129.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/1.647, allocations: 305.1 kB / 0.6824 GB, free: 129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005361/1.652, allocations: 4.119 MB / 0.6865 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007413/1.66, allocations: 9.382 MB / 0.6956 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/1.676, allocations: 14.61 MB / 0.7099 GB, free: 101.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002185/1.676, allocations: 56 kB / 0.7099 GB, free: 101.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03858/1.715, allocations: 17.61 MB / 0.7271 GB, free: 84.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/1.715, allocations: 84 kB / 0.7272 GB, free: 84.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005125/1.716, allocations: 184 kB / 0.7274 GB, free: 84.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/1.73, allocations: 4.575 MB / 0.7319 GB, free: 79.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00723/1.738, allocations: 2.038 MB / 0.7339 GB, free: 77.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0405/1.778, allocations: 36.39 MB / 0.7694 GB, free: 40.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/1.789, allocations: 0.545 MB / 0.7699 GB, free: 40.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002786/1.791, allocations: 0.5624 MB / 0.7705 GB, free: 39.61 MB / 0.5137 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.01196/1.803, allocations: 3.263 MB / 0.7737 GB, free: 36.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/1.806, allocations: 0.5283 MB / 0.7742 GB, free: 35.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/1.829, allocations: 9.956 MB / 0.7839 GB, free: 25.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.107e-05/1.829, allocations: 52.53 kB / 0.784 GB, free: 25.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01661/1.846, allocations: 8.502 MB / 0.7923 GB, free: 17.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.823e-05/1.846, allocations: 15.94 kB / 0.7923 GB, free: 17.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2735/2.119, allocations: 22.73 MB / 0.8145 GB, free: 226.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-05/2.119, allocations: 5.844 kB / 0.8145 GB, free: 226.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/2.122, allocations: 476.5 kB / 0.8149 GB, free: 226.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01152/2.134, allocations: 3.241 MB / 0.8181 GB, free: 226.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009631/2.135, allocations: 66.91 kB / 0.8182 GB, free: 226.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03275/2.168, allocations: 26.4 MB / 0.8439 GB, free: 217 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01394/2.182, allocations: 10.78 MB / 0.8545 GB, free: 211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02989/2.212, allocations: 13.9 MB / 0.868 GB, free: 205.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005577/2.217, allocations: 1.117 MB / 0.8691 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003949/2.221, allocations: 67.84 kB / 0.8692 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006015/2.227, allocations: 220.5 kB / 0.8694 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002138/2.23, allocations: 243.6 kB / 0.8696 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001026/2.231, allocations: 91.98 kB / 0.8697 GB, free: 204.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0082/2.239, allocations: 3.58 MB / 0.8732 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.22e-07/2.239, allocations: 0 / 0.8732 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01627/2.255, allocations: 1.993 MB / 0.8752 GB, free: 199.5 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.002779/2.258, allocations: 275 kB / 0.8754 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02353/2.282, allocations: 14.34 MB / 0.8894 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/2.282, allocations: 0 / 0.8894 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00707/2.289, allocations: 4.175 MB / 0.8935 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008964/2.298, allocations: 0.8555 MB / 0.8943 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03836/2.336, allocations: 19.67 MB / 0.9136 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/2.35, allocations: 4.998 MB / 0.9184 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008902/2.359, allocations: 2.779 MB / 0.9211 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/2.361, allocations: 363.4 kB / 0.9215 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/2.361, allocations: 0 / 0.9215 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1466/2.507, allocations: 90.3 MB / 1.01 GB, free: 63.54 MB / 0.5294 GB 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)