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.0008955/0.0008987, allocations: 99.02 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002168/0.0002168, allocations: 4 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1011, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2555/0.3567, allocations: 73.07 MB / 431.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04221/0.3989, allocations: 17.21 MB / 448.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01594/0.4149, allocations: 386.9 kB / 448.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.4267, allocations: 3.705 MB / 452.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02886/0.4556, allocations: 10.25 MB / 462.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005018/0.4607, allocations: 1.174 MB / 463.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006643/0.4673, allocations: 3.765 MB / 467.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.4787, allocations: 9.429 MB / 477 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.4815, allocations: 1.721 MB / 478.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.4842, allocations: 2.005 MB / 480.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008234/0.485, allocations: 220 kB / 481 MB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.488, allocations: 1.237 MB / 482.2 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.4904, allocations: 2.564 MB / 484.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.4919, allocations: 1.329 MB / 486.1 MB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.5005, allocations: 9.368 MB / 495.5 MB, free: 1.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.5006, allocations: 4 kB / 495.5 MB, free: 1.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5006, allocations: 0 / 495.5 MB, free: 1.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002568/0.5008, allocations: 0 / 495.5 MB, free: 1.855 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.01642/0.5173, allocations: 7.187 MB / 0.4909 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5173, allocations: 8.031 kB / 0.4909 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009037/0.5263, allocations: 2.611 MB / 0.4935 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/0.5349, allocations: 4.189 MB / 0.4975 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.5352, allocations: 427.1 kB / 0.4979 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.5365, allocations: 0.5816 MB / 0.4985 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/0.5673, allocations: 16.77 MB / 0.5149 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.5675, allocations: 63.38 kB / 0.515 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008949/0.5684, allocations: 271.8 kB / 0.5152 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003949/0.5724, allocations: 2.568 MB / 0.5177 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3445/0.9169, allocations: 14.4 MB / 0.5318 GB, free: 137.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.07316/0.9901, allocations: 62.6 MB / 0.5929 GB, free: 95.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02044/1.011, allocations: 7.79 MB / 0.6005 GB, free: 89.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/1.032, allocations: 16.82 MB / 0.6169 GB, free: 71.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.032, allocations: 56.56 kB / 0.617 GB, free: 71.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 4.588e-06/1.032, allocations: 7.938 kB / 0.617 GB, free: 71.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1071/1.14, allocations: 43.3 MB / 0.6593 GB, free: 28.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01967/1.159, allocations: 17.04 MB / 0.6759 GB, free: 10.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00707/1.166, allocations: 5.861 MB / 0.6817 GB, free: 4.887 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007031/1.167, allocations: 73.7 kB / 0.6817 GB, free: 4.809 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.169, allocations: 4.666 MB / 0.6863 GB, free: 148 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.171, allocations: 1.235 MB / 0.6875 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/1.171, allocations: 180 kB / 0.6877 GB, free: 14.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005984/1.172, allocations: 0.6785 MB / 0.6883 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006244/1.178, allocations: 4.023 MB / 0.6923 GB, free: 10.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2189/1.397, allocations: 9.148 MB / 0.7012 GB, free: 138.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.408, allocations: 5.938 MB / 0.707 GB, free: 137.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/1.408, allocations: 51.75 kB / 0.707 GB, free: 137.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.03886/1.447, allocations: 17.29 MB / 0.7239 GB, free: 132.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.447, allocations: 90.73 kB / 0.724 GB, free: 132.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/1.447, allocations: 180.8 kB / 0.7242 GB, free: 132.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/1.461, allocations: 4.59 MB / 0.7287 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007054/1.468, allocations: 1.993 MB / 0.7306 GB, free: 131.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03749/1.506, allocations: 35.04 MB / 0.7648 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007975/1.514, allocations: 0.5414 MB / 0.7653 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/1.515, allocations: 0.5538 MB / 0.7659 GB, free: 101.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.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 (1044): * Single equations (assignments): 1031 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 33,(2,100.0%) 19,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.005018/1.52, allocations: 3.213 MB / 0.769 GB, free: 97.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009382/1.521, allocations: 0.5201 MB / 0.7695 GB, free: 97.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/1.539, allocations: 9.819 MB / 0.7791 GB, free: 87.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.025e-05/1.539, allocations: 47.98 kB / 0.7792 GB, free: 87.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01528/1.554, allocations: 8.386 MB / 0.7874 GB, free: 79.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-05/1.555, allocations: 15.94 kB / 0.7874 GB, free: 79.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03903/1.594, allocations: 22.16 MB / 0.809 GB, free: 56.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/1.594, allocations: 4 kB / 0.809 GB, free: 56.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.596, allocations: 463.7 kB / 0.8095 GB, free: 56.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/1.606, allocations: 3.281 MB / 0.8127 GB, free: 53.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007829/1.607, allocations: 60.92 kB / 0.8127 GB, free: 53.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/1.636, allocations: 25.2 MB / 0.8373 GB, free: 27.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01289/1.649, allocations: 11.01 MB / 0.8481 GB, free: 16.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/1.671, allocations: 14.15 MB / 0.8619 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.672, allocations: 0.5734 MB / 0.8625 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008239/1.673, allocations: 48 kB / 0.8625 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/1.676, allocations: 224.6 kB / 0.8627 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007532/1.677, allocations: 225.6 kB / 0.8629 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.677, allocations: 84.77 kB / 0.863 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005475/1.683, allocations: 3.679 MB / 0.8666 GB, free: 13 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.683, allocations: 0 / 0.8666 GB, free: 13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009965/1.693, allocations: 1.98 MB / 0.8685 GB, free: 11.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/1.694, allocations: 270.1 kB / 0.8688 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2036/1.898, allocations: 10.55 MB / 0.8791 GB, free: 151.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.898, allocations: 5 kB / 0.8791 GB, free: 151.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006744/1.904, allocations: 4.092 MB / 0.8831 GB, free: 150.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.909, allocations: 0.7425 MB / 0.8838 GB, free: 150.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/1.938, allocations: 18.51 MB / 0.9019 GB, free: 140.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005469/1.943, allocations: 5.044 MB / 0.9068 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006924/1.95, allocations: 2.739 MB / 0.9095 GB, free: 139 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.952, allocations: 357.5 kB / 0.9099 GB, free: 139 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/1.952, allocations: 3.938 kB / 0.9099 GB, free: 139 MB / 478.1 MB Notification: Performance of Templates: time 0.1149/2.067, allocations: 83.24 MB / 0.9911 GB, free: 57.9 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches