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.001434/0.001434, allocations: 121 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 204.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 58.66 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2189/0.3251, allocations: 18.69 MB / 377.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.3408, allocations: 6.148 MB / 383.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.3463, allocations: 146.7 kB / 383.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.3582, allocations: 6.023 MB / 389.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.367, allocations: 2.533 MB / 392.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005717/0.3727, allocations: 2.392 MB / 394.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.385, allocations: 6.661 MB / 401.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.3958, allocations: 8.077 MB / 409.6 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006602/0.4024, allocations: 2.836 MB / 412.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006712/0.4092, allocations: 3.505 MB / 415.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002594/0.4118, allocations: 0.6328 MB / 416.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.417, allocations: 1.838 MB / 418.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004597/0.4217, allocations: 3.266 MB / 421.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006615/0.4283, allocations: 3.726 MB / 425.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.4441, allocations: 11.87 MB / 437.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.4441, allocations: 0 / 437.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4442, allocations: 0 / 437.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004127/0.4446, allocations: 0 / 437.2 MB, free: 12.32 MB / 350.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.028/0.4726, allocations: 8.239 MB / 445.5 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4726, allocations: 8.031 kB / 445.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.4812, allocations: 2.222 MB / 447.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.4916, allocations: 4.075 MB / 451.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.492, allocations: 427.5 kB / 452.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/0.4943, allocations: 0.57 MB / 452.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/0.5266, allocations: 16.34 MB / 469.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.5269, allocations: 63.45 kB / 469.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009528/0.5278, allocations: 267.8 kB / 469.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003583/0.5314, allocations: 2.506 MB / 471.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02759/0.559, allocations: 13.98 MB / 485.9 MB, free: 10.54 MB / 398.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.4705/1.03, allocations: 61.67 MB / 0.5348 GB, free: 104.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02461/1.054, allocations: 7.581 MB / 0.5422 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005427/1.06, allocations: 3.939 MB / 0.546 GB, free: 104.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02255/1.082, allocations: 16.65 MB / 0.5623 GB, free: 96.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.082, allocations: 57.94 kB / 0.5623 GB, free: 96.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.27e-06/1.082, allocations: 2.781 kB / 0.5623 GB, free: 96.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1102/1.193, allocations: 42.48 MB / 0.6038 GB, free: 62.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0194/1.212, allocations: 16.69 MB / 0.6201 GB, free: 45.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00824/1.22, allocations: 5.601 MB / 0.6256 GB, free: 40.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007795/1.221, allocations: 77.7 kB / 0.6257 GB, free: 39.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002219/1.223, allocations: 4.62 MB / 0.6302 GB, free: 35.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.225, allocations: 1.237 MB / 0.6314 GB, free: 34.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003381/1.228, allocations: 1.878 MB / 0.6332 GB, free: 32.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/1.228, allocations: 309.1 kB / 0.6335 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005198/1.233, allocations: 4.058 MB / 0.6375 GB, free: 27.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007003/1.24, allocations: 9.219 MB / 0.6465 GB, free: 16.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/1.254, allocations: 14.36 MB / 0.6605 GB, free: 15.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/1.254, allocations: 48 kB / 0.6605 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03884/1.293, allocations: 17.38 MB / 0.6775 GB, free: 13.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/1.293, allocations: 84 kB / 0.6776 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003377/1.294, allocations: 180 kB / 0.6778 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/1.309, allocations: 4.562 MB / 0.6822 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007162/1.316, allocations: 1.992 MB / 0.6842 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04967/1.366, allocations: 36.39 MB / 0.7197 GB, free: 1.727 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009576/1.375, allocations: 0.5266 MB / 0.7202 GB, free: 1.199 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003795/1.379, allocations: 0.5545 MB / 0.7208 GB, free: 0.6445 MB / 0.4982 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.2776/1.657, allocations: 3.178 MB / 0.7239 GB, free: 179 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.658, allocations: 0.5132 MB / 0.7244 GB, free: 179 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02228/1.681, allocations: 9.823 MB / 0.734 GB, free: 177.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/1.681, allocations: 51.7 kB / 0.734 GB, free: 177.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01804/1.699, allocations: 8.412 MB / 0.7422 GB, free: 175 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/1.699, allocations: 24.14 kB / 0.7422 GB, free: 175 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04735/1.746, allocations: 21.94 MB / 0.7637 GB, free: 166.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/1.746, allocations: 4.844 kB / 0.7637 GB, free: 166.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.749, allocations: 461.5 kB / 0.7641 GB, free: 166.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.759, allocations: 3.231 MB / 0.7673 GB, free: 165.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008662/1.76, allocations: 55.67 kB / 0.7673 GB, free: 165.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/1.79, allocations: 26.38 MB / 0.7931 GB, free: 140.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01201/1.802, allocations: 10.75 MB / 0.8036 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/1.825, allocations: 13.67 MB / 0.8169 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.826, allocations: 0.5453 MB / 0.8175 GB, free: 115.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.827, allocations: 59.98 kB / 0.8175 GB, free: 115.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.83, allocations: 211.7 kB / 0.8177 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007665/1.831, allocations: 225.1 kB / 0.8179 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/1.831, allocations: 83.98 kB / 0.818 GB, free: 115 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004303/1.835, allocations: 3.495 MB / 0.8214 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.2e-07/1.835, allocations: 3.719 kB / 0.8214 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007583/1.843, allocations: 1.945 MB / 0.8233 GB, free: 109.6 MB / 0.4982 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.0007858/1.844, allocations: 271.9 kB / 0.8236 GB, free: 109.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.858, allocations: 10.64 MB / 0.834 GB, free: 98.73 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.858, allocations: 4 kB / 0.834 GB, free: 98.73 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004999/1.863, allocations: 4.097 MB / 0.838 GB, free: 94.59 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/1.867, allocations: 0.836 MB / 0.8388 GB, free: 93.79 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/1.889, allocations: 15.72 MB / 0.8542 GB, free: 78 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007186/1.896, allocations: 4.857 MB / 0.8589 GB, free: 73.11 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006869/1.903, allocations: 2.723 MB / 0.8616 GB, free: 70.38 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.905, allocations: 355.4 kB / 0.8619 GB, free: 70.03 MB / 0.4982 GB Notification: Performance of SimCode: time 8.61e-07/1.905, allocations: 0 / 0.8619 GB, free: 70.03 MB / 0.4982 GB Notification: Performance of Templates: time 0.3128/2.217, allocations: 81.62 MB / 0.9416 GB, free: 162.1 MB / 0.4982 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","/var/lib/jenkins1/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