Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 62.83 kB / 306.3 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.119, allocations: 50.53 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.266/0.3851, allocations: 77.6 MB / 434.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03399/0.4191, allocations: 15.78 MB / 450.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01324/0.4324, allocations: 359.1 kB / 450.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.4429, allocations: 6.042 MB / 456.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006397/0.4493, allocations: 2.406 MB / 459 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.4545, allocations: 2.3 MB / 461.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.4672, allocations: 9.648 MB / 470.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00975/0.477, allocations: 8.052 MB / 479 MB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.4809, allocations: 2.551 MB / 481.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.4854, allocations: 3.743 MB / 485.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009979/0.4864, allocations: 476 kB / 485.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.4897, allocations: 1.755 MB / 487.5 MB, free: 8.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002946/0.4926, allocations: 3.152 MB / 490.6 MB, free: 5.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003583/0.4962, allocations: 3.558 MB / 494.2 MB, free: 2.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.5074, allocations: 11.43 MB / 0.4938 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5074, allocations: 0 / 0.4938 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5074, allocations: 0 / 0.4938 GB, free: 6.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002181/0.5077, allocations: 0 / 0.4938 GB, free: 6.594 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.01705/0.5247, allocations: 8.247 MB / 0.5018 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5248, allocations: 8.031 kB / 0.5018 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007339/0.5321, allocations: 2.222 MB / 0.504 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008043/0.5402, allocations: 3.965 MB / 0.5079 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.5405, allocations: 427.4 kB / 0.5083 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.5421, allocations: 0.5815 MB / 0.5089 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03235/0.5745, allocations: 16.33 MB / 0.5248 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002749/0.5748, allocations: 59.47 kB / 0.5249 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/0.5764, allocations: 263.8 kB / 0.5251 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0037/0.5801, allocations: 2.51 MB / 0.5276 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3196/0.8997, allocations: 13.97 MB / 0.5412 GB, free: 140 MB / 446.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.06447/0.9642, allocations: 61.98 MB / 0.6017 GB, free: 88.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/0.9836, allocations: 7.586 MB / 0.6091 GB, free: 80.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003873/0.9875, allocations: 3.936 MB / 0.613 GB, free: 76.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01868/1.006, allocations: 16.65 MB / 0.6292 GB, free: 59.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.006, allocations: 68.44 kB / 0.6293 GB, free: 59.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.761e-06/1.006, allocations: 0 / 0.6293 GB, free: 59.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1082/1.114, allocations: 42.47 MB / 0.6708 GB, free: 16.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01936/1.134, allocations: 16.32 MB / 0.6867 GB, free: 15.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009338/1.143, allocations: 5.601 MB / 0.6922 GB, free: 9.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007228/1.144, allocations: 81.69 kB / 0.6923 GB, free: 9.797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.147, allocations: 4.62 MB / 0.6968 GB, free: 5.113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.149, allocations: 1.238 MB / 0.698 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003309/1.152, allocations: 1.879 MB / 0.6998 GB, free: 1.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/1.152, allocations: 305.1 kB / 0.7001 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1832/1.336, allocations: 4.055 MB / 0.7041 GB, free: 145.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009899/1.346, allocations: 9.22 MB / 0.7131 GB, free: 138.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/1.363, allocations: 14.36 MB / 0.7271 GB, free: 127.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002099/1.364, allocations: 51.91 kB / 0.7272 GB, free: 127.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03093/1.394, allocations: 17.38 MB / 0.7441 GB, free: 121.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/1.395, allocations: 87.19 kB / 0.7442 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/1.395, allocations: 178.1 kB / 0.7444 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01315/1.408, allocations: 4.569 MB / 0.7488 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005814/1.414, allocations: 1.994 MB / 0.7508 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03609/1.45, allocations: 34.1 MB / 0.7841 GB, free: 85.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.457, allocations: 0.5298 MB / 0.7846 GB, free: 85.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.458, allocations: 0.5582 MB / 0.7851 GB, free: 84.73 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1049): * Single equations (assignments): 1036 * 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.004489/1.463, allocations: 3.177 MB / 0.7882 GB, free: 81.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008738/1.464, allocations: 0.5244 MB / 0.7888 GB, free: 81.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/1.481, allocations: 9.824 MB / 0.7984 GB, free: 71.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.392e-05/1.481, allocations: 47.98 kB / 0.7984 GB, free: 71.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01529/1.497, allocations: 8.41 MB / 0.8066 GB, free: 62.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.338e-05/1.497, allocations: 15.94 kB / 0.8066 GB, free: 62.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03574/1.533, allocations: 22.02 MB / 0.8281 GB, free: 40.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.533, allocations: 3.938 kB / 0.8281 GB, free: 40.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.535, allocations: 467.7 kB / 0.8286 GB, free: 40.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/1.545, allocations: 3.285 MB / 0.8318 GB, free: 37.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005452/1.545, allocations: 56 kB / 0.8318 GB, free: 36.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02828/1.574, allocations: 24.42 MB / 0.8557 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01282/1.587, allocations: 10.63 MB / 0.8661 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2287/1.815, allocations: 13.65 MB / 0.8794 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.817, allocations: 0.5481 MB / 0.8799 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009416/1.818, allocations: 58.27 kB / 0.88 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.821, allocations: 213.2 kB / 0.8802 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/1.821, allocations: 227.5 kB / 0.8804 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.822, allocations: 89.56 kB / 0.8805 GB, free: 144.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005234/1.827, allocations: 3.492 MB / 0.8839 GB, free: 144 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.827, allocations: 0 / 0.8839 GB, free: 144 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009338/1.836, allocations: 1.942 MB / 0.8858 GB, free: 143.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (210): * Single equations (assignments): 202 * 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.0009535/1.837, allocations: 271.6 kB / 0.8861 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01356/1.851, allocations: 10.61 MB / 0.8964 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.851, allocations: 0 / 0.8964 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004852/1.856, allocations: 4.093 MB / 0.9004 GB, free: 137.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004977/1.861, allocations: 0.7794 MB / 0.9012 GB, free: 137.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/1.886, allocations: 19.08 MB / 0.9198 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005325/1.891, allocations: 4.86 MB / 0.9246 GB, free: 121.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006621/1.898, allocations: 2.726 MB / 0.9272 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.899, allocations: 350.4 kB / 0.9276 GB, free: 119.2 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/1.899, allocations: 0 / 0.9276 GB, free: 119.2 MB / 478.1 MB Notification: Performance of Templates: time 0.1139/2.013, allocations: 85.61 MB / 1.011 GB, free: 35.46 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches