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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 227.2 MB / 245 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 102.2 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002041/0.0002041, allocations: 4 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.218, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.5409, allocations: 115.4 MB / 0.5125 GB, free: 44.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5412, allocations: 93.94 kB / 0.5126 GB, free: 44.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2927/0.834, allocations: 131.7 MB / 0.6412 GB, free: 5.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.834, allocations: 0 / 0.6412 GB, free: 5.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000462/0.8345, allocations: 140 kB / 0.6413 GB, free: 5.793 MB / 426.7 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.02551/0.86, allocations: 7.613 MB / 0.6487 GB, free: 14.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.8601, allocations: 8.031 kB / 0.6487 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.8722, allocations: 2.748 MB / 0.6514 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/0.892, allocations: 6.567 MB / 0.6578 GB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005902/0.8927, allocations: 0.5175 MB / 0.6583 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/0.896, allocations: 0.6872 MB / 0.659 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04303/0.9391, allocations: 17.23 MB / 0.6758 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004616/0.9396, allocations: 91.17 kB / 0.6759 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002838/0.9424, allocations: 335.8 kB / 0.6762 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3788/1.321, allocations: 1.482 MB / 0.6777 GB, free: 77.24 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/1.348, allocations: 14.47 MB / 0.6918 GB, free: 77.19 MB / 458.8 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.07348/1.422, allocations: 72.87 MB / 0.763 GB, free: 36.21 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01933/1.441, allocations: 7.77 MB / 0.7706 GB, free: 33.93 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/1.467, allocations: 16.5 MB / 0.7867 GB, free: 25.59 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.467, allocations: 66.5 kB / 0.7867 GB, free: 25.53 MB / 458.8 MB Notification: Performance of pre-optimization done (n=266): time 4.909e-06/1.467, allocations: 0 / 0.7867 GB, free: 25.53 MB / 458.8 MB Notification: Performance of matching and sorting (n=340): time 0.1289/1.595, allocations: 46.08 MB / 0.8317 GB, free: 12.62 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02507/1.621, allocations: 16.15 MB / 0.8475 GB, free: 14.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.631, allocations: 4.985 MB / 0.8524 GB, free: 10.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009937/1.632, allocations: 77.7 kB / 0.8525 GB, free: 10.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004068/1.636, allocations: 4.682 MB / 0.857 GB, free: 5.41 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.638, allocations: 1.274 MB / 0.8583 GB, free: 4.148 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/1.64, allocations: 180 kB / 0.8584 GB, free: 3.973 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001079/1.641, allocations: 0.6863 MB / 0.8591 GB, free: 3.277 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2222/1.863, allocations: 4.075 MB / 0.8631 GB, free: 103.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009261/1.872, allocations: 9.221 MB / 0.8721 GB, free: 97.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/1.881, allocations: 6.015 MB / 0.878 GB, free: 97.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/1.881, allocations: 54.78 kB / 0.878 GB, free: 97.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03434/1.915, allocations: 17.82 MB / 0.8954 GB, free: 96.01 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002128/1.916, allocations: 82.81 kB / 0.8955 GB, free: 96.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003032/1.916, allocations: 180 kB / 0.8957 GB, free: 96.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/1.932, allocations: 4.986 MB / 0.9005 GB, free: 95.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00644/1.938, allocations: 1.977 MB / 0.9025 GB, free: 95.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04239/1.981, allocations: 38.32 MB / 0.9399 GB, free: 80.53 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00832/1.989, allocations: 0.5387 MB / 0.9404 GB, free: 80.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/1.991, allocations: 0.5468 MB / 0.941 GB, free: 80.32 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1042): * Single equations (assignments): 1031 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.008504/2, allocations: 3.225 MB / 0.9441 GB, free: 78.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.001, allocations: 0.5263 MB / 0.9446 GB, free: 78.92 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/2.021, allocations: 10.43 MB / 0.9548 GB, free: 75.13 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.137e-05/2.021, allocations: 55.16 kB / 0.9549 GB, free: 75.12 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01746/2.038, allocations: 9.524 MB / 0.9642 GB, free: 71.83 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.368e-05/2.038, allocations: 17.69 kB / 0.9642 GB, free: 71.83 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/2.08, allocations: 23.13 MB / 0.9868 GB, free: 53.47 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/2.08, allocations: 4 kB / 0.9868 GB, free: 53.46 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/2.082, allocations: 446.2 kB / 0.9872 GB, free: 53.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0113/2.094, allocations: 3.693 MB / 0.9908 GB, free: 50.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000671/2.094, allocations: 63.66 kB / 0.9909 GB, free: 50.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03239/2.127, allocations: 28.23 MB / 1.018 GB, free: 25.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0149/2.142, allocations: 12.68 MB / 1.031 GB, free: 13.22 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2526/2.394, allocations: 14.67 MB / 1.045 GB, free: 90.49 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/2.396, allocations: 0.5566 MB / 1.046 GB, free: 90.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/2.397, allocations: 59.77 kB / 1.046 GB, free: 90.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003683/2.401, allocations: 216.4 kB / 1.046 GB, free: 90.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001469/2.403, allocations: 231.9 kB / 1.046 GB, free: 90.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007137/2.403, allocations: 90.02 kB / 1.046 GB, free: 90.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008209/2.412, allocations: 3.489 MB / 1.05 GB, free: 90.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.51e-07/2.412, allocations: 0 / 1.05 GB, free: 90.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01039/2.422, allocations: 2.047 MB / 1.052 GB, free: 90.21 MB / 490.8 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 (206): * Single equations (assignments): 198 * 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%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/2.423, allocations: 288.6 kB / 1.052 GB, free: 90.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01458/2.438, allocations: 10.72 MB / 1.062 GB, free: 89.19 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/2.438, allocations: 3.125 kB / 1.062 GB, free: 89.19 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005603/2.444, allocations: 4.207 MB / 1.067 GB, free: 88.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/2.449, allocations: 0.7471 MB / 1.067 GB, free: 88.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03303/2.482, allocations: 18.7 MB / 1.086 GB, free: 81.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.492, allocations: 5.075 MB / 1.09 GB, free: 80.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008115/2.5, allocations: 2.72 MB / 1.093 GB, free: 80.76 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/2.502, allocations: 349.2 kB / 1.093 GB, free: 80.75 MB / 490.8 MB Notification: Performance of SimCode: time 1.422e-06/2.502, allocations: 0 / 1.093 GB, free: 80.75 MB / 490.8 MB Notification: Performance of Templates: time 0.1248/2.627, allocations: 87.88 MB / 1.179 GB, free: 27.55 MB / 490.8 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