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.001484/0.001484, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.12 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 50.55 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01819/0.2748, allocations: 18.68 MB / 427.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.2878, allocations: 6.166 MB / 434.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.2919, allocations: 143.6 kB / 434.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.3028, allocations: 6.016 MB / 440.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007051/0.3099, allocations: 2.606 MB / 442.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.3149, allocations: 2.389 MB / 445.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009585/0.3245, allocations: 6.664 MB / 451.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.3354, allocations: 8.067 MB / 460 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.3403, allocations: 2.832 MB / 462.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.3455, allocations: 3.517 MB / 466.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.3473, allocations: 0.6406 MB / 467 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/0.3517, allocations: 1.834 MB / 468.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004585/0.3563, allocations: 3.32 MB / 472.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009045/0.3653, allocations: 3.734 MB / 475.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.382, allocations: 11.87 MB / 487.7 MB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3821, allocations: 4 kB / 487.7 MB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3821, allocations: 7.938 kB / 487.7 MB, free: 2.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003752/0.3824, allocations: 0 / 487.7 MB, free: 2.801 MB / 398.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.02115/0.4036, allocations: 8.247 MB / 496 MB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4037, allocations: 8.031 kB / 496 MB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007132/0.4108, allocations: 2.222 MB / 498.2 MB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008498/0.4193, allocations: 4.067 MB / 0.4905 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.4197, allocations: 431.2 kB / 0.4909 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.4218, allocations: 0.5699 MB / 0.4915 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/0.454, allocations: 16.34 MB / 0.5074 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.4542, allocations: 59.42 kB / 0.5075 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008436/0.4551, allocations: 259.8 kB / 0.5077 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003607/0.4587, allocations: 2.517 MB / 0.5102 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/0.4878, allocations: 13.98 MB / 0.5238 GB, free: 1.012 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.3086/0.7964, allocations: 61.68 MB / 0.5841 GB, free: 78.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/0.8153, allocations: 7.577 MB / 0.5915 GB, free: 71.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/0.8193, allocations: 3.936 MB / 0.5953 GB, free: 67.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/0.8374, allocations: 16.66 MB / 0.6116 GB, free: 50.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.8375, allocations: 65.22 kB / 0.6116 GB, free: 50.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 5.841e-06/0.8375, allocations: 0 / 0.6116 GB, free: 50.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1006/0.9381, allocations: 42.48 MB / 0.6531 GB, free: 7.605 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02143/0.9596, allocations: 16.7 MB / 0.6694 GB, free: 6.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007243/0.9669, allocations: 5.601 MB / 0.6749 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000781/0.9677, allocations: 77.7 kB / 0.675 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003371/0.971, allocations: 4.62 MB / 0.6795 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/0.9726, allocations: 1.242 MB / 0.6807 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002468/0.9751, allocations: 1.875 MB / 0.6825 GB, free: 8.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.9752, allocations: 305.1 kB / 0.6828 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005497/0.9807, allocations: 4.066 MB / 0.6868 GB, free: 4.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008972/0.9897, allocations: 9.217 MB / 0.6958 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.006, allocations: 14.37 MB / 0.7098 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/1.007, allocations: 52 kB / 0.7099 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03597/1.043, allocations: 17.38 MB / 0.7268 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.043, allocations: 84 kB / 0.7269 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.043, allocations: 180 kB / 0.7271 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01464/1.058, allocations: 4.555 MB / 0.7315 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/1.064, allocations: 2 MB / 0.7335 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5078/1.572, allocations: 36.37 MB / 0.769 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/1.584, allocations: 0.5336 MB / 0.7695 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/1.586, allocations: 0.5509 MB / 0.7701 GB, free: 181.1 MB / 0.545 GB 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.006882/1.593, allocations: 3.192 MB / 0.7732 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.594, allocations: 0.5163 MB / 0.7737 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/1.611, allocations: 9.822 MB / 0.7833 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/1.611, allocations: 46.25 kB / 0.7833 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01501/1.626, allocations: 8.408 MB / 0.7915 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.109e-05/1.626, allocations: 19.94 kB / 0.7916 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03367/1.66, allocations: 21.94 MB / 0.813 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/1.66, allocations: 0 / 0.813 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.662, allocations: 467 kB / 0.8134 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009461/1.672, allocations: 3.223 MB / 0.8166 GB, free: 144.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007654/1.673, allocations: 60 kB / 0.8166 GB, free: 144.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02873/1.701, allocations: 26.38 MB / 0.8424 GB, free: 118.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01189/1.713, allocations: 10.75 MB / 0.8529 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/1.734, allocations: 13.66 MB / 0.8662 GB, free: 93.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.735, allocations: 0.5481 MB / 0.8668 GB, free: 92.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006563/1.736, allocations: 54.84 kB / 0.8668 GB, free: 92.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.738, allocations: 215.7 kB / 0.867 GB, free: 92.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007647/1.739, allocations: 228.9 kB / 0.8672 GB, free: 92.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/1.739, allocations: 95.73 kB / 0.8673 GB, free: 92.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004091/1.743, allocations: 3.49 MB / 0.8707 GB, free: 88.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/1.743, allocations: 0 / 0.8707 GB, free: 88.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006988/1.75, allocations: 1.94 MB / 0.8726 GB, free: 86.98 MB / 0.545 GB 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.0006809/1.751, allocations: 272.4 kB / 0.8729 GB, free: 86.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.763, allocations: 10.64 MB / 0.8833 GB, free: 76.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.763, allocations: 3.938 kB / 0.8833 GB, free: 76.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/1.768, allocations: 4.097 MB / 0.8873 GB, free: 71.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/1.772, allocations: 0.8551 MB / 0.8881 GB, free: 71.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/1.794, allocations: 15.72 MB / 0.9035 GB, free: 55.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005154/1.799, allocations: 4.854 MB / 0.9082 GB, free: 50.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005901/1.805, allocations: 2.727 MB / 0.9109 GB, free: 47.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.806, allocations: 351.4 kB / 0.9112 GB, free: 47.29 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/1.806, allocations: 4 kB / 0.9112 GB, free: 47.28 MB / 0.545 GB Notification: Performance of Templates: time 0.3424/2.148, allocations: 84.79 MB / 0.994 GB, free: 155.7 MB / 0.545 GB 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