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.0009383/0.0009384, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 205.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002297, allocations: 8 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09321, allocations: 51.52 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2472/0.3404, allocations: 75.69 MB / 434.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03517/0.3757, allocations: 15.71 MB / 450.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01787/0.3936, allocations: 359 kB / 451 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.3961, allocations: 0.68 MB / 451.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007734/0.4039, allocations: 2.417 MB / 454.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.4072, allocations: 1.115 MB / 455.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.4188, allocations: 9.623 MB / 464.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.4338, allocations: 11.02 MB / 475.8 MB, free: 5.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003329/0.4372, allocations: 1.942 MB / 477.8 MB, free: 4.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004502/0.4417, allocations: 2.978 MB / 480.8 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000767/0.4425, allocations: 220 kB / 481 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.4454, allocations: 1.509 MB / 482.5 MB, free: 15.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.4483, allocations: 2.77 MB / 485.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003173/0.4515, allocations: 3.13 MB / 488.4 MB, free: 9.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.4628, allocations: 11.01 MB / 499.4 MB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4628, allocations: 4 kB / 499.4 MB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.4628, allocations: 0 / 499.4 MB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003779/0.4632, allocations: 3.938 kB / 499.4 MB, free: 14.34 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.01636/0.4796, allocations: 6.75 MB / 0.4943 GB, free: 7.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.4796, allocations: 8.031 kB / 0.4943 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008222/0.4879, allocations: 2.273 MB / 0.4965 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.4952, allocations: 3.969 MB / 0.5004 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/0.4955, allocations: 427.4 kB / 0.5008 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.497, allocations: 0.5699 MB / 0.5014 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/0.5285, allocations: 16.4 MB / 0.5174 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/0.5287, allocations: 67.38 kB / 0.5174 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007337/0.5294, allocations: 259.8 kB / 0.5177 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003821/0.5333, allocations: 2.514 MB / 0.5201 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.406/0.9393, allocations: 14.03 MB / 0.5338 GB, free: 139.9 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.07625/1.016, allocations: 61.94 MB / 0.5943 GB, free: 96.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/1.036, allocations: 7.677 MB / 0.6018 GB, free: 88.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004109/1.04, allocations: 3.945 MB / 0.6057 GB, free: 84.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/1.059, allocations: 16.64 MB / 0.6219 GB, free: 67.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.059, allocations: 64.5 kB / 0.622 GB, free: 67.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 7.875e-06/1.059, allocations: 4 kB / 0.622 GB, free: 67.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1141/1.174, allocations: 42.38 MB / 0.6634 GB, free: 24.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01973/1.193, allocations: 16.31 MB / 0.6793 GB, free: 7.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006528/1.2, allocations: 5.597 MB / 0.6848 GB, free: 2.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007837/1.201, allocations: 81.22 kB / 0.6849 GB, free: 1.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002989/1.204, allocations: 4.62 MB / 0.6894 GB, free: 13.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.206, allocations: 1.236 MB / 0.6906 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/1.207, allocations: 0.772 MB / 0.6913 GB, free: 11.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/1.207, allocations: 301.1 kB / 0.6916 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006005/1.213, allocations: 4.066 MB / 0.6956 GB, free: 6.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2106/1.424, allocations: 9.212 MB / 0.7046 GB, free: 138.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/1.441, allocations: 14.37 MB / 0.7186 GB, free: 129.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003001/1.441, allocations: 55.09 kB / 0.7187 GB, free: 129.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.04328/1.485, allocations: 17.39 MB / 0.7357 GB, free: 124 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/1.485, allocations: 81.56 kB / 0.7357 GB, free: 124 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/1.485, allocations: 183.4 kB / 0.7359 GB, free: 124 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/1.5, allocations: 4.563 MB / 0.7404 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007415/1.508, allocations: 1.997 MB / 0.7423 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03781/1.546, allocations: 34.08 MB / 0.7756 GB, free: 91.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008728/1.555, allocations: 0.5394 MB / 0.7761 GB, free: 91.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002021/1.557, allocations: 0.5568 MB / 0.7767 GB, free: 90.78 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.006562/1.563, allocations: 3.187 MB / 0.7798 GB, free: 87.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.564, allocations: 0.5184 MB / 0.7803 GB, free: 87.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/1.583, allocations: 9.83 MB / 0.7899 GB, free: 77.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-05/1.583, allocations: 47.98 kB / 0.7899 GB, free: 77.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01646/1.6, allocations: 8.414 MB / 0.7981 GB, free: 68.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.449e-05/1.6, allocations: 16.22 kB / 0.7982 GB, free: 68.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03938/1.639, allocations: 22.02 MB / 0.8197 GB, free: 46.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.85e-05/1.639, allocations: 10.17 kB / 0.8197 GB, free: 46.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.642, allocations: 471.2 kB / 0.8201 GB, free: 46.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/1.652, allocations: 3.294 MB / 0.8233 GB, free: 43.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/1.653, allocations: 59.98 kB / 0.8234 GB, free: 42.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02857/1.682, allocations: 24.41 MB / 0.8472 GB, free: 18.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01284/1.695, allocations: 10.61 MB / 0.8576 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2685/1.963, allocations: 13.66 MB / 0.871 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.965, allocations: 0.5627 MB / 0.8715 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/1.966, allocations: 54.98 kB / 0.8716 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/1.97, allocations: 219 kB / 0.8718 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.971, allocations: 220.8 kB / 0.872 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/1.971, allocations: 87.03 kB / 0.8721 GB, free: 141.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006675/1.978, allocations: 3.502 MB / 0.8755 GB, free: 141.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.978, allocations: 0 / 0.8755 GB, free: 141.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01063/1.989, allocations: 1.938 MB / 0.8774 GB, free: 141.6 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.001175/1.99, allocations: 274.5 kB / 0.8776 GB, free: 141.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01846/2.008, allocations: 10.61 MB / 0.888 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.008, allocations: 0 / 0.888 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005811/2.014, allocations: 4.091 MB / 0.892 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007838/2.022, allocations: 0.7845 MB / 0.8927 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/2.048, allocations: 19.13 MB / 0.9114 GB, free: 127.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00551/2.053, allocations: 4.869 MB / 0.9162 GB, free: 125.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006765/2.06, allocations: 2.716 MB / 0.9188 GB, free: 125.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/2.061, allocations: 360.6 kB / 0.9192 GB, free: 125.3 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/2.061, allocations: 0 / 0.9192 GB, free: 125.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1199/2.181, allocations: 83.97 MB / 1.001 GB, free: 45.2 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