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.005471/0.005471, allocations: 102 kB / 15.73 MB, free: 6.051 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.001219/0.001219, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.599/1.599, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.00118/0.00118, allocations: 53.73 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02105/0.1264, allocations: 19.73 MB / 392.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1412, allocations: 6.276 MB / 399.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004972/0.1463, allocations: 151.5 kB / 399.3 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.1571, allocations: 6.059 MB / 405.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007438/0.1646, allocations: 2.653 MB / 408 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.17, allocations: 2.409 MB / 410.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.1812, allocations: 6.668 MB / 417.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/0.1931, allocations: 8.148 MB / 425.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006216/0.1994, allocations: 2.906 MB / 428.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00618/0.2056, allocations: 3.61 MB / 431.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.208, allocations: 0.6484 MB / 432.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.2127, allocations: 1.861 MB / 434.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004609/0.2173, allocations: 3.386 MB / 437.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006955/0.2243, allocations: 3.854 MB / 441.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.2401, allocations: 12.26 MB / 453.8 MB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.2402, allocations: 0 / 453.8 MB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.2402, allocations: 0 / 453.8 MB, free: 364 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004857/0.2407, allocations: 0 / 453.8 MB, free: 364 kB / 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.276/0.5167, allocations: 8.343 MB / 462.1 MB, free: 66.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5167, allocations: 9.688 kB / 462.1 MB, free: 66.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.527, allocations: 2.27 MB / 464.4 MB, free: 65.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.5394, allocations: 4.29 MB / 468.7 MB, free: 63.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005169/0.54, allocations: 435.9 kB / 469.1 MB, free: 62.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003016/0.543, allocations: 0.5794 MB / 469.7 MB, free: 62.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.5779, allocations: 16.81 MB / 486.5 MB, free: 48.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/0.5782, allocations: 55.53 kB / 486.6 MB, free: 48.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.5795, allocations: 260.9 kB / 486.8 MB, free: 48.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003385/0.5829, allocations: 2.647 MB / 489.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/0.6104, allocations: 14.4 MB / 0.4921 GB, free: 31.12 MB / 382.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.08663/0.697, allocations: 62.99 MB / 0.5536 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.023/0.7201, allocations: 7.66 MB / 0.5611 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005471/0.7256, allocations: 3.991 MB / 0.565 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02861/0.7542, allocations: 16.77 MB / 0.5813 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.7544, allocations: 64.56 kB / 0.5814 GB, free: 1.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 8.055e-06/0.7544, allocations: 0 / 0.5814 GB, free: 1.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1275/0.8819, allocations: 42.91 MB / 0.6233 GB, free: 5.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2689/1.151, allocations: 16.68 MB / 0.6396 GB, free: 157.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008372/1.159, allocations: 5.742 MB / 0.6452 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000993/1.16, allocations: 73.52 kB / 0.6453 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.163, allocations: 4.739 MB / 0.6499 GB, free: 152.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.164, allocations: 1.274 MB / 0.6511 GB, free: 152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00222/1.166, allocations: 1.915 MB / 0.653 GB, free: 151.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.248e-05/1.166, allocations: 310 kB / 0.6533 GB, free: 150.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004948/1.171, allocations: 4.129 MB / 0.6573 GB, free: 149.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007931/1.179, allocations: 9.38 MB / 0.6665 GB, free: 140.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.194, allocations: 14.62 MB / 0.6808 GB, free: 128.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/1.194, allocations: 52 kB / 0.6808 GB, free: 128.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03633/1.23, allocations: 17.61 MB / 0.698 GB, free: 110.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.231, allocations: 84 kB / 0.6981 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/1.231, allocations: 184 kB / 0.6983 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/1.245, allocations: 4.559 MB / 0.7027 GB, free: 105.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007101/1.252, allocations: 2.047 MB / 0.7047 GB, free: 103.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03904/1.291, allocations: 36.37 MB / 0.7402 GB, free: 66.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009241/1.3, allocations: 0.5403 MB / 0.7408 GB, free: 65.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.302, allocations: 0.5663 MB / 0.7413 GB, free: 65.2 MB / 494.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.006433/1.309, allocations: 3.267 MB / 0.7445 GB, free: 61.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.31, allocations: 0.539 MB / 0.745 GB, free: 61.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/1.33, allocations: 9.942 MB / 0.7548 GB, free: 51.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-05/1.33, allocations: 44 kB / 0.7548 GB, free: 51.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01656/1.347, allocations: 8.506 MB / 0.7631 GB, free: 42.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.913e-05/1.347, allocations: 19.94 kB / 0.7631 GB, free: 42.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04398/1.391, allocations: 22.64 MB / 0.7852 GB, free: 19.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/1.391, allocations: 4 kB / 0.7852 GB, free: 19.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/1.394, allocations: 487.2 kB / 0.7857 GB, free: 19.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/1.404, allocations: 3.226 MB / 0.7888 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008779/1.405, allocations: 67.42 kB / 0.7889 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5455/1.95, allocations: 26.38 MB / 0.8147 GB, free: 156.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0178/1.968, allocations: 10.78 MB / 0.8252 GB, free: 153.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/1.994, allocations: 13.91 MB / 0.8388 GB, free: 148.5 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004227/1.998, allocations: 1.108 MB / 0.8399 GB, free: 148.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/2, allocations: 62.05 kB / 0.8399 GB, free: 148.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004261/2.004, allocations: 224.9 kB / 0.8401 GB, free: 148.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/2.005, allocations: 231.4 kB / 0.8404 GB, free: 148 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/2.005, allocations: 92 kB / 0.8405 GB, free: 148 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005978/2.011, allocations: 3.585 MB / 0.844 GB, free: 146.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.723e-06/2.012, allocations: 2.812 kB / 0.844 GB, free: 146.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01116/2.023, allocations: 1.997 MB / 0.8459 GB, free: 146.6 MB / 0.4982 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.001247/2.024, allocations: 266.1 kB / 0.8462 GB, free: 146.5 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01671/2.041, allocations: 10.8 MB / 0.8567 GB, free: 140.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.041, allocations: 0 / 0.8567 GB, free: 140.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006349/2.047, allocations: 4.183 MB / 0.8608 GB, free: 136.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007564/2.055, allocations: 0.8524 MB / 0.8616 GB, free: 136.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/2.085, allocations: 16.18 MB / 0.8774 GB, free: 121.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007014/2.092, allocations: 4.994 MB / 0.8823 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0066/2.099, allocations: 2.779 MB / 0.885 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/2.1, allocations: 367.4 kB / 0.8854 GB, free: 113.5 MB / 0.4982 GB Notification: Performance of SimCode: time 1.834e-06/2.101, allocations: 4 kB / 0.8854 GB, free: 113.5 MB / 0.4982 GB Notification: Performance of Templates: time 0.1307/2.231, allocations: 86.05 MB / 0.9694 GB, free: 27.43 MB / 0.4982 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)