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.001529/0.001529, allocations: 116.2 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.06 kB / 306.4 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1005, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2338/0.3344, allocations: 77.6 MB / 434.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03703/0.3715, allocations: 15.68 MB / 450.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/0.3874, allocations: 359 kB / 450.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.3984, allocations: 5.813 MB / 456.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00703/0.4055, allocations: 2.374 MB / 458.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.4107, allocations: 2.281 MB / 461.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009224/0.4199, allocations: 6.709 MB / 467.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009787/0.4297, allocations: 8.531 MB / 476.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.434, allocations: 2.906 MB / 479.2 MB, free: 1.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/0.4391, allocations: 3.876 MB / 483.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.4406, allocations: 0.6328 MB / 483.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.444, allocations: 1.857 MB / 485.6 MB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.4475, allocations: 3.316 MB / 488.9 MB, free: 7.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004526/0.452, allocations: 3.761 MB / 492.7 MB, free: 3.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4626, allocations: 11.63 MB / 0.4925 GB, free: 7.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4626, allocations: 0 / 0.4925 GB, free: 7.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4626, allocations: 7.938 kB / 0.4925 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.4628, allocations: 0 / 0.4925 GB, free: 7.926 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.01921/0.482, allocations: 8.257 MB / 0.5005 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.4821, allocations: 8.031 kB / 0.5005 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/0.4899, allocations: 2.215 MB / 0.5027 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007958/0.4979, allocations: 3.965 MB / 0.5066 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.4983, allocations: 423.5 kB / 0.507 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/0.5001, allocations: 0.5777 MB / 0.5076 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.5325, allocations: 16.34 MB / 0.5235 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/0.5327, allocations: 63.45 kB / 0.5236 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/0.5344, allocations: 259.8 kB / 0.5238 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004058/0.5385, allocations: 2.506 MB / 0.5263 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3177/0.8562, allocations: 13.98 MB / 0.5399 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.07426/0.9305, allocations: 61.99 MB / 0.6004 GB, free: 89.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.9508, allocations: 7.58 MB / 0.6078 GB, free: 81.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.9553, allocations: 3.932 MB / 0.6117 GB, free: 77.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02259/0.9779, allocations: 16.65 MB / 0.6279 GB, free: 60.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.978, allocations: 64.56 kB / 0.628 GB, free: 60.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 6.442e-06/0.978, allocations: 0 / 0.628 GB, free: 60.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1116/1.09, allocations: 42.5 MB / 0.6695 GB, free: 17.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01966/1.109, allocations: 16.71 MB / 0.6858 GB, free: 332 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008026/1.117, allocations: 5.609 MB / 0.6913 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000963/1.118, allocations: 69.7 kB / 0.6914 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003861/1.122, allocations: 4.623 MB / 0.6959 GB, free: 5.969 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.124, allocations: 1.242 MB / 0.6971 GB, free: 4.711 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003002/1.127, allocations: 1.879 MB / 0.6989 GB, free: 2.816 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/1.127, allocations: 305.1 kB / 0.6992 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1771/1.304, allocations: 4.059 MB / 0.7032 GB, free: 145.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008787/1.313, allocations: 9.215 MB / 0.7122 GB, free: 139.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.329, allocations: 14.36 MB / 0.7262 GB, free: 128.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002481/1.329, allocations: 50.88 kB / 0.7263 GB, free: 128.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03617/1.366, allocations: 17.4 MB / 0.7433 GB, free: 122.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.366, allocations: 81.56 kB / 0.7433 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/1.366, allocations: 177.2 kB / 0.7435 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/1.38, allocations: 4.568 MB / 0.748 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006264/1.387, allocations: 2.001 MB / 0.7499 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0379/1.425, allocations: 36.37 MB / 0.7854 GB, free: 84.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008084/1.433, allocations: 0.5319 MB / 0.786 GB, free: 83.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.434, allocations: 0.5467 MB / 0.7865 GB, free: 83.21 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.004453/1.438, allocations: 3.189 MB / 0.7896 GB, free: 80.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009403/1.439, allocations: 0.5138 MB / 0.7901 GB, free: 79.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/1.457, allocations: 9.832 MB / 0.7997 GB, free: 69.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/1.457, allocations: 47.98 kB / 0.7998 GB, free: 69.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01527/1.472, allocations: 8.411 MB / 0.808 GB, free: 61.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/1.472, allocations: 15.94 kB / 0.808 GB, free: 61.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/1.507, allocations: 22.02 MB / 0.8295 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/1.507, allocations: 9.375 kB / 0.8295 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/1.509, allocations: 467.7 kB / 0.8299 GB, free: 38.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009883/1.519, allocations: 3.238 MB / 0.8331 GB, free: 35.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006634/1.52, allocations: 56 kB / 0.8332 GB, free: 35.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03021/1.55, allocations: 26.39 MB / 0.8589 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.197/1.747, allocations: 10.77 MB / 0.8694 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02637/1.773, allocations: 13.65 MB / 0.8828 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.775, allocations: 0.5507 MB / 0.8833 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000908/1.776, allocations: 55.34 kB / 0.8834 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/1.779, allocations: 214.6 kB / 0.8836 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008588/1.779, allocations: 229.4 kB / 0.8838 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.78, allocations: 85.92 kB / 0.8839 GB, free: 143 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005101/1.785, allocations: 3.497 MB / 0.8873 GB, free: 141.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.785, allocations: 1.375 kB / 0.8873 GB, free: 141.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00932/1.794, allocations: 1.942 MB / 0.8892 GB, free: 141.7 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.0008626/1.795, allocations: 266.6 kB / 0.8894 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02124/1.816, allocations: 14.18 MB / 0.9033 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.816, allocations: 0 / 0.9033 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005743/1.822, allocations: 4.096 MB / 0.9073 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005612/1.828, allocations: 0.8335 MB / 0.9081 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.854, allocations: 19.07 MB / 0.9267 GB, free: 117.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005696/1.86, allocations: 4.866 MB / 0.9315 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006461/1.867, allocations: 2.732 MB / 0.9341 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.868, allocations: 350.6 kB / 0.9345 GB, free: 111.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/1.868, allocations: 0 / 0.9345 GB, free: 111.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1261/1.994, allocations: 88.94 MB / 1.021 GB, free: 24.5 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