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.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001328/0.001329, allocations: 194 kB / 16.14 MB, free: 6.66 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.437/1.437, allocations: 205.1 MB / 222 MB, free: 4.773 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.001131/0.001132, allocations: 47.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.291, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.08172/0.3728, allocations: 86.09 MB / 410.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04906/0.4219, allocations: 17.35 MB / 428.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02697/0.449, allocations: 394.9 kB / 428.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.4606, allocations: 6.078 MB / 434.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009214/0.4698, allocations: 2.495 MB / 437.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00573/0.4756, allocations: 2.343 MB / 439.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01349/0.4891, allocations: 9.734 MB / 449.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2858/0.775, allocations: 8.124 MB / 457.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007012/0.782, allocations: 2.608 MB / 459.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009512/0.7916, allocations: 3.855 MB / 463.7 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003266/0.7949, allocations: 483.3 kB / 464.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.8015, allocations: 1.776 MB / 466 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006096/0.8076, allocations: 3.244 MB / 469.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009148/0.8168, allocations: 3.685 MB / 472.9 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01943/0.8363, allocations: 11.79 MB / 484.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.8363, allocations: 0 / 484.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.8363, allocations: 2.625 kB / 484.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006002/0.837, allocations: 3.625 kB / 484.7 MB, free: 3.656 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.02958/0.8665, allocations: 8.345 MB / 493.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8666, allocations: 8.75 kB / 493.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.8768, allocations: 2.273 MB / 495.3 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.8889, allocations: 4.183 MB / 499.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006319/0.8896, allocations: 436.8 kB / 499.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003949/0.8936, allocations: 0.5896 MB / 0.4888 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04902/0.9426, allocations: 16.8 MB / 0.5052 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/0.943, allocations: 65.31 kB / 0.5053 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002103/0.9451, allocations: 263 kB / 0.5055 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004425/0.9496, allocations: 2.635 MB / 0.5081 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03503/0.9846, allocations: 14.4 MB / 0.5222 GB, free: 2.895 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.09996/1.085, allocations: 63.3 MB / 0.584 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02201/1.107, allocations: 7.655 MB / 0.5915 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005922/1.113, allocations: 3.988 MB / 0.5953 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02695/1.14, allocations: 16.79 MB / 0.6117 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.14, allocations: 60.56 kB / 0.6118 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=274): time 8.826e-06/1.14, allocations: 3.984 kB / 0.6118 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=340): time 0.4132/1.553, allocations: 42.9 MB / 0.6537 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02269/1.576, allocations: 16.32 MB / 0.6696 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009437/1.585, allocations: 5.742 MB / 0.6752 GB, free: 134.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.586, allocations: 79.77 kB / 0.6753 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.589, allocations: 4.731 MB / 0.6799 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001969/1.591, allocations: 1.277 MB / 0.6812 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002802/1.594, allocations: 1.914 MB / 0.683 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/1.594, allocations: 303.6 kB / 0.6833 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/1.599, allocations: 4.124 MB / 0.6874 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007522/1.607, allocations: 9.383 MB / 0.6965 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.623, allocations: 14.61 MB / 0.7108 GB, free: 99.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/1.623, allocations: 55.94 kB / 0.7108 GB, free: 99.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.04002/1.663, allocations: 17.62 MB / 0.7281 GB, free: 83.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000297/1.663, allocations: 84 kB / 0.7281 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003906/1.664, allocations: 188.1 kB / 0.7283 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01399/1.678, allocations: 4.565 MB / 0.7328 GB, free: 78.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006733/1.684, allocations: 2.039 MB / 0.7348 GB, free: 76.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03883/1.723, allocations: 34.1 MB / 0.7681 GB, free: 41.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009823/1.733, allocations: 0.5487 MB / 0.7686 GB, free: 41.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.735, allocations: 0.5641 MB / 0.7692 GB, free: 40.58 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.007978/1.743, allocations: 3.269 MB / 0.7723 GB, free: 37.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.745, allocations: 0.5322 MB / 0.7729 GB, free: 36.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/1.764, allocations: 9.943 MB / 0.7826 GB, free: 26.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.086e-05/1.764, allocations: 44 kB / 0.7826 GB, free: 26.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01623/1.78, allocations: 8.505 MB / 0.7909 GB, free: 18.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001164/1.78, allocations: 11.95 kB / 0.7909 GB, free: 18.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2785/2.059, allocations: 22.73 MB / 0.8131 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.992e-05/2.059, allocations: 9.125 kB / 0.8131 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/2.062, allocations: 476.2 kB / 0.8136 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/2.075, allocations: 3.29 MB / 0.8168 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/2.076, allocations: 62.03 kB / 0.8169 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03243/2.108, allocations: 24.43 MB / 0.8407 GB, free: 217.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01486/2.123, allocations: 10.65 MB / 0.8511 GB, free: 211.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0326/2.156, allocations: 13.91 MB / 0.8647 GB, free: 206.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004007/2.16, allocations: 1.118 MB / 0.8658 GB, free: 206.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002349/2.162, allocations: 65.33 kB / 0.8659 GB, free: 206.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004917/2.167, allocations: 212.6 kB / 0.8661 GB, free: 206.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001671/2.169, allocations: 238.9 kB / 0.8663 GB, free: 206.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008145/2.17, allocations: 92.44 kB / 0.8664 GB, free: 206.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007735/2.177, allocations: 3.587 MB / 0.8699 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.91e-07/2.177, allocations: 0 / 0.8699 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01262/2.19, allocations: 1.996 MB / 0.8718 GB, free: 201.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.001647/2.192, allocations: 264.2 kB / 0.8721 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02116/2.213, allocations: 10.76 MB / 0.8826 GB, free: 191.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/2.213, allocations: 4 kB / 0.8826 GB, free: 191.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007655/2.221, allocations: 4.163 MB / 0.8867 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00732/2.228, allocations: 0.8085 MB / 0.8875 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/2.26, allocations: 19.66 MB / 0.9066 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006367/2.267, allocations: 4.991 MB / 0.9115 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007682/2.274, allocations: 2.783 MB / 0.9142 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/2.276, allocations: 367.4 kB / 0.9146 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/2.276, allocations: 0 / 0.9146 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1319/2.408, allocations: 86.92 MB / 0.9995 GB, free: 73.56 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)