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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 167 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9248/0.9248, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|bodyOfConstraint.body.w_a.[0-9,]+.|bodyOfJoint.body.w_a.[0-9,]+.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|bodyOfConstraint.body.w_a.[0-9,]+.|bodyOfJoint.body.w_a.[0-9,]+.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.054e-05, allocations: 2.312 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1267/0.1267, allocations: 18.05 MB / 291 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1373, allocations: 6.055 MB / 297.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.1402, allocations: 176.2 kB / 297.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006824/0.1471, allocations: 6.487 MB / 303.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005148/0.1522, allocations: 2.715 MB / 306.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.1553, allocations: 2.589 MB / 309.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005953/0.1612, allocations: 7.419 MB / 316.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005862/0.1671, allocations: 6.499 MB / 323 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/0.1724, allocations: 4.288 MB / 327.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/0.1764, allocations: 3.811 MB / 331.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.1776, allocations: 0.6484 MB / 331.7 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.1801, allocations: 1.817 MB / 333.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.1826, allocations: 3.569 MB / 337.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.1856, allocations: 2.275 MB / 339.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.1932, allocations: 7.525 MB / 346.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1932, allocations: 7.938 kB / 346.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1932, allocations: 0 / 346.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.1934, allocations: 4 kB / 346.9 MB, free: 7.406 MB / 298.7 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.01161/0.205, allocations: 8.887 MB / 355.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.205, allocations: 8.031 kB / 355.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.21, allocations: 2.981 MB / 358.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.2145, allocations: 3.737 MB / 362.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.2148, allocations: 423.5 kB / 362.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006599/0.2155, allocations: 0.5746 MB / 363.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.2306, allocations: 10.08 MB / 373.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.2307, allocations: 63.47 kB / 373.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004652/0.2312, allocations: 259.8 kB / 373.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002702/0.2339, allocations: 2.51 MB / 376.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.247, allocations: 5.782 MB / 382.2 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1777/0.4247, allocations: 62.84 MB / 445 MB, free: 74.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/0.4404, allocations: 5.009 MB / 450.1 MB, free: 74.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.4426, allocations: 1.292 MB / 451.3 MB, free: 74.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.4557, allocations: 9.492 MB / 460.8 MB, free: 72.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4558, allocations: 64.61 kB / 460.9 MB, free: 72.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=265): time 6.342e-06/0.4558, allocations: 0 / 460.9 MB, free: 72.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=331): time 0.05863/0.5144, allocations: 29.48 MB / 490.4 MB, free: 50.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009298/0.5237, allocations: 10.83 MB / 0.4895 GB, free: 39.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004417/0.5281, allocations: 4.969 MB / 0.4943 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006139/0.5287, allocations: 77.7 kB / 0.4944 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.5304, allocations: 5.003 MB / 0.4993 GB, free: 29.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.5315, allocations: 1.335 MB / 0.5006 GB, free: 28.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/0.5332, allocations: 1.995 MB / 0.5025 GB, free: 26.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.858e-05/0.5332, allocations: 484.7 kB / 0.503 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.5353, allocations: 1.364 MB / 0.5043 GB, free: 24.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/0.5389, allocations: 8.989 MB / 0.5131 GB, free: 12.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007805/0.5467, allocations: 11.49 MB / 0.5243 GB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/0.5469, allocations: 59.94 kB / 0.5244 GB, free: 13.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01964/0.5665, allocations: 10.97 MB / 0.5351 GB, free: 2.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.5666, allocations: 87.34 kB / 0.5352 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/0.5668, allocations: 180 kB / 0.5353 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009393/0.5761, allocations: 3.706 MB / 0.539 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/0.5807, allocations: 1.996 MB / 0.5409 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.6026, allocations: 21.42 MB / 0.5618 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/0.6074, allocations: 0.5852 MB / 0.5624 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009158/0.6084, allocations: 0.5506 MB / 0.5629 GB, free: 4.832 MB / 426.7 MB 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.002201/0.6106, allocations: 0.8942 MB / 0.5638 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.6116, allocations: 0.6059 MB / 0.5644 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.6218, allocations: 5.598 MB / 0.5699 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-05/0.6219, allocations: 47.98 kB / 0.5699 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00863/0.6305, allocations: 4.425 MB / 0.5742 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.045e-05/0.6306, allocations: 19.94 kB / 0.5743 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.142/0.7726, allocations: 14.64 MB / 0.5886 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.7726, allocations: 3.25 kB / 0.5886 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.7739, allocations: 464.3 kB / 0.589 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006095/0.78, allocations: 2.437 MB / 0.5914 GB, free: 152.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.7802, allocations: 62.39 kB / 0.5914 GB, free: 152.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.7941, allocations: 14.67 MB / 0.6058 GB, free: 145.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005911/0.8, allocations: 7.449 MB / 0.613 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.8103, allocations: 6.802 MB / 0.6197 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/0.811, allocations: 0.498 MB / 0.6202 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/0.8114, allocations: 50.66 kB / 0.6202 GB, free: 140.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.8128, allocations: 263.8 kB / 0.6205 GB, free: 140.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005447/0.8134, allocations: 241 kB / 0.6207 GB, free: 140.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.8135, allocations: 87.48 kB / 0.6208 GB, free: 140 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002258/0.8158, allocations: 2.152 MB / 0.6229 GB, free: 139.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8158, allocations: 0 / 0.6229 GB, free: 139.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00477/0.8205, allocations: 2.024 MB / 0.6249 GB, free: 139.2 MB / 442.7 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 (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.0005414/0.8211, allocations: 290.7 kB / 0.6251 GB, free: 139 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007268/0.8284, allocations: 6.917 MB / 0.6319 GB, free: 133.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8284, allocations: 7.688 kB / 0.6319 GB, free: 133.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.8307, allocations: 2.68 MB / 0.6345 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.8331, allocations: 0.7777 MB / 0.6353 GB, free: 130 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.846, allocations: 13.02 MB / 0.648 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.8474, allocations: 2.025 MB / 0.65 GB, free: 115.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003076/0.8505, allocations: 2.276 MB / 0.6522 GB, free: 113.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/0.8512, allocations: 351.4 kB / 0.6525 GB, free: 112.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8512, allocations: 0 / 0.6525 GB, free: 112.7 MB / 442.7 MB Notification: Performance of Templates: time 0.1828/1.034, allocations: 83.33 MB / 0.7339 GB, free: 156.6 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198012815089896]