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.001445/0.001444, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.78 kB / 306.4 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09482, allocations: 50.54 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2245/0.3194, allocations: 77.6 MB / 434.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03835/0.3578, allocations: 15.67 MB / 450.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01963/0.3774, allocations: 363 kB / 450.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.3895, allocations: 5.823 MB / 456.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008399/0.3979, allocations: 2.374 MB / 458.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.4031, allocations: 2.277 MB / 461.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009497/0.4127, allocations: 6.711 MB / 467.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.4251, allocations: 8.536 MB / 476.3 MB, free: 3.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/0.4314, allocations: 2.898 MB / 479.2 MB, free: 1.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006259/0.4377, allocations: 3.876 MB / 483.1 MB, free: 13.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.4399, allocations: 0.6328 MB / 483.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.4445, allocations: 1.853 MB / 485.6 MB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004592/0.4491, allocations: 3.32 MB / 488.9 MB, free: 7.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006569/0.4557, allocations: 3.761 MB / 492.7 MB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.4701, allocations: 11.63 MB / 0.4925 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4702, allocations: 0 / 0.4925 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4702, allocations: 0 / 0.4925 GB, free: 7.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005156/0.4707, allocations: 4 kB / 0.4925 GB, free: 7.871 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.02535/0.4961, allocations: 8.243 MB / 0.5005 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.4962, allocations: 12.03 kB / 0.5005 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/0.5056, allocations: 2.222 MB / 0.5027 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/0.5144, allocations: 3.969 MB / 0.5066 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/0.515, allocations: 423.5 kB / 0.507 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/0.5175, allocations: 0.5699 MB / 0.5075 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/0.5533, allocations: 16.34 MB / 0.5235 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.5536, allocations: 59.53 kB / 0.5236 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.5548, allocations: 259.8 kB / 0.5238 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003982/0.5588, allocations: 2.514 MB / 0.5263 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3477/0.9065, allocations: 13.98 MB / 0.5399 GB, free: 139.6 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.06308/0.9696, allocations: 61.99 MB / 0.6004 GB, free: 89.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/0.9886, allocations: 7.58 MB / 0.6078 GB, free: 81.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/0.9926, allocations: 3.932 MB / 0.6117 GB, free: 77.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01816/1.011, allocations: 16.66 MB / 0.628 GB, free: 60.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/1.011, allocations: 60.56 kB / 0.628 GB, free: 60.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.51e-06/1.011, allocations: 0 / 0.628 GB, free: 60.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.114/1.125, allocations: 42.51 MB / 0.6695 GB, free: 17.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01984/1.145, allocations: 16.7 MB / 0.6858 GB, free: 316 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008905/1.154, allocations: 5.609 MB / 0.6913 GB, free: 10.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007234/1.154, allocations: 77.7 kB / 0.6914 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002949/1.157, allocations: 4.616 MB / 0.6959 GB, free: 5.953 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.159, allocations: 1.234 MB / 0.6971 GB, free: 4.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.161, allocations: 1.879 MB / 0.6989 GB, free: 2.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.315e-05/1.162, allocations: 309 kB / 0.6992 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1792/1.341, allocations: 4.058 MB / 0.7032 GB, free: 145.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.351, allocations: 9.211 MB / 0.7122 GB, free: 138.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/1.37, allocations: 14.37 MB / 0.7262 GB, free: 127.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002541/1.37, allocations: 56.62 kB / 0.7263 GB, free: 127.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03658/1.406, allocations: 17.38 MB / 0.7432 GB, free: 121.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.407, allocations: 83.03 kB / 0.7433 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/1.407, allocations: 181.9 kB / 0.7435 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/1.421, allocations: 4.575 MB / 0.748 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/1.428, allocations: 1.99 MB / 0.7499 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0378/1.466, allocations: 36.39 MB / 0.7854 GB, free: 84.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007658/1.473, allocations: 0.5371 MB / 0.786 GB, free: 83.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/1.475, allocations: 0.5545 MB / 0.7865 GB, free: 83.26 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.005124/1.48, allocations: 3.181 MB / 0.7896 GB, free: 80.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.481, allocations: 0.5158 MB / 0.7901 GB, free: 79.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/1.499, allocations: 9.832 MB / 0.7997 GB, free: 69.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.955e-05/1.499, allocations: 48 kB / 0.7998 GB, free: 69.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01562/1.515, allocations: 8.409 MB / 0.808 GB, free: 61.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/1.515, allocations: 11.95 kB / 0.808 GB, free: 61.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03474/1.549, allocations: 22.02 MB / 0.8295 GB, free: 39.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/1.549, allocations: 7.938 kB / 0.8295 GB, free: 39.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.552, allocations: 463.7 kB / 0.8299 GB, free: 38.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009895/1.562, allocations: 3.241 MB / 0.8331 GB, free: 35.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/1.562, allocations: 59.98 kB / 0.8332 GB, free: 35.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02934/1.591, allocations: 26.39 MB / 0.8589 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1878/1.779, allocations: 10.76 MB / 0.8694 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02469/1.804, allocations: 13.65 MB / 0.8828 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.805, allocations: 0.5462 MB / 0.8833 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000752/1.806, allocations: 57.67 kB / 0.8834 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.809, allocations: 221.2 kB / 0.8836 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000891/1.81, allocations: 221.1 kB / 0.8838 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.81, allocations: 91.48 kB / 0.8839 GB, free: 142.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004924/1.815, allocations: 3.497 MB / 0.8873 GB, free: 141.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.815, allocations: 1.375 kB / 0.8873 GB, free: 141.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009648/1.825, allocations: 1.94 MB / 0.8892 GB, free: 141.3 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.0007248/1.825, allocations: 273.9 kB / 0.8894 GB, free: 141.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01935/1.845, allocations: 14.17 MB / 0.9033 GB, free: 136.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.845, allocations: 3.75 kB / 0.9033 GB, free: 136.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005687/1.851, allocations: 4.102 MB / 0.9073 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006199/1.857, allocations: 0.8305 MB / 0.9081 GB, free: 134.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.882, allocations: 19.06 MB / 0.9267 GB, free: 117.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0052/1.887, allocations: 4.875 MB / 0.9315 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006743/1.894, allocations: 2.722 MB / 0.9341 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/1.895, allocations: 358 kB / 0.9345 GB, free: 111.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.194e-06/1.895, allocations: 0 / 0.9345 GB, free: 111.8 MB / 478.1 MB Notification: Performance of Templates: time 0.127/2.022, allocations: 88.94 MB / 1.021 GB, free: 24.55 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