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.001099/0.001099, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001223, allocations: 199.8 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2574, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01939/0.2768, allocations: 18.69 MB / 427.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.29, allocations: 6.158 MB / 434.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.2943, allocations: 151.4 kB / 434.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.3046, allocations: 6.02 MB / 440.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006467/0.3111, allocations: 2.532 MB / 442.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.3159, allocations: 2.385 MB / 445.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008844/0.3248, allocations: 6.657 MB / 451.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00905/0.3339, allocations: 8.071 MB / 459.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.3378, allocations: 2.828 MB / 462.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.3419, allocations: 3.517 MB / 466.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.343, allocations: 0.6328 MB / 466.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.3459, allocations: 1.838 MB / 468.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.3486, allocations: 3.328 MB / 472 MB, free: 2.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.3519, allocations: 3.734 MB / 475.8 MB, free: 14.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.365, allocations: 11.87 MB / 487.6 MB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.365, allocations: 0 / 487.6 MB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3651, allocations: 0 / 487.6 MB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.3654, allocations: 4 kB / 487.6 MB, free: 2.852 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.0182/0.3836, allocations: 8.247 MB / 495.9 MB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3836, allocations: 8.031 kB / 495.9 MB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007572/0.3912, allocations: 2.222 MB / 498.1 MB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008424/0.3997, allocations: 4.059 MB / 0.4904 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4, allocations: 435.2 kB / 0.4908 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.4017, allocations: 0.566 MB / 0.4914 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0303/0.4321, allocations: 16.34 MB / 0.5073 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/0.4324, allocations: 59.38 kB / 0.5074 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.4339, allocations: 259.8 kB / 0.5076 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004084/0.438, allocations: 2.521 MB / 0.5101 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02859/0.4666, allocations: 13.97 MB / 0.5238 GB, free: 1.066 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.4578/0.9245, allocations: 61.68 MB / 0.584 GB, free: 78.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/0.9441, allocations: 7.585 MB / 0.5914 GB, free: 71.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/0.9478, allocations: 3.934 MB / 0.5952 GB, free: 67.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01801/0.9658, allocations: 16.65 MB / 0.6115 GB, free: 50.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.9659, allocations: 61.33 kB / 0.6116 GB, free: 50.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 5.38e-06/0.9659, allocations: 0 / 0.6116 GB, free: 50.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1074/1.073, allocations: 42.48 MB / 0.653 GB, free: 7.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02162/1.095, allocations: 16.7 MB / 0.6693 GB, free: 6.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00896/1.104, allocations: 5.593 MB / 0.6748 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007998/1.105, allocations: 77.7 kB / 0.6749 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003012/1.108, allocations: 4.62 MB / 0.6794 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.109, allocations: 1.242 MB / 0.6806 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/1.112, allocations: 1.879 MB / 0.6824 GB, free: 8.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/1.112, allocations: 305.1 kB / 0.6827 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005681/1.118, allocations: 4.062 MB / 0.6867 GB, free: 4.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009633/1.127, allocations: 9.214 MB / 0.6957 GB, free: 8.824 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01767/1.145, allocations: 14.36 MB / 0.7097 GB, free: 7.891 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.145, allocations: 52 kB / 0.7098 GB, free: 7.84 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03707/1.182, allocations: 17.4 MB / 0.7268 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/1.183, allocations: 87.98 kB / 0.7268 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.183, allocations: 180 kB / 0.727 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01556/1.198, allocations: 4.551 MB / 0.7315 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0074/1.206, allocations: 1.996 MB / 0.7334 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3206/1.526, allocations: 36.37 MB / 0.7689 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/1.534, allocations: 0.5382 MB / 0.7695 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.535, allocations: 0.5542 MB / 0.77 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.004499/1.54, allocations: 3.183 MB / 0.7731 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009581/1.541, allocations: 0.5144 MB / 0.7736 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.559, allocations: 9.825 MB / 0.7832 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/1.559, allocations: 47.31 kB / 0.7832 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01637/1.576, allocations: 8.405 MB / 0.7915 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.775e-05/1.576, allocations: 20.16 kB / 0.7915 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03505/1.611, allocations: 21.94 MB / 0.8129 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.611, allocations: 6.562 kB / 0.8129 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.613, allocations: 459.3 kB / 0.8133 GB, free: 148.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/1.623, allocations: 3.224 MB / 0.8165 GB, free: 144.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006723/1.624, allocations: 67.81 kB / 0.8166 GB, free: 144.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02856/1.653, allocations: 26.37 MB / 0.8423 GB, free: 118.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01215/1.665, allocations: 10.76 MB / 0.8528 GB, free: 107.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/1.686, allocations: 13.66 MB / 0.8662 GB, free: 93.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.688, allocations: 0.549 MB / 0.8667 GB, free: 93.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007531/1.689, allocations: 48 kB / 0.8667 GB, free: 92.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/1.692, allocations: 219.7 kB / 0.867 GB, free: 92.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008031/1.692, allocations: 222.8 kB / 0.8672 GB, free: 92.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/1.693, allocations: 95.02 kB / 0.8673 GB, free: 92.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004228/1.697, allocations: 3.494 MB / 0.8707 GB, free: 88.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/1.697, allocations: 0 / 0.8707 GB, free: 88.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007944/1.705, allocations: 1.941 MB / 0.8726 GB, free: 87.05 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.0009707/1.706, allocations: 273.3 kB / 0.8728 GB, free: 86.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.719, allocations: 10.64 MB / 0.8832 GB, free: 76.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.719, allocations: 2.344 kB / 0.8832 GB, free: 76.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004764/1.724, allocations: 4.105 MB / 0.8872 GB, free: 71.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/1.728, allocations: 0.848 MB / 0.8881 GB, free: 71.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/1.748, allocations: 15.7 MB / 0.9034 GB, free: 55.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/1.752, allocations: 4.869 MB / 0.9081 GB, free: 50.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005235/1.758, allocations: 2.719 MB / 0.9108 GB, free: 47.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009862/1.759, allocations: 355.3 kB / 0.9111 GB, free: 47.33 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/1.759, allocations: 4 kB / 0.9111 GB, free: 47.33 MB / 0.545 GB Notification: Performance of Templates: time 0.3356/2.094, allocations: 85.43 MB / 0.9946 GB, free: 155 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