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.001556/0.001556, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001585/0.001585, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9689/0.9689, allocations: 177 MB / 204.8 MB, free: 5.605 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.783e-06/1.783e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.569e-05, allocations: 6.25 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1411/0.1411, allocations: 18.12 MB / 291 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1527, allocations: 6.073 MB / 297.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.1558, allocations: 176.1 kB / 297.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007116/0.1629, allocations: 6.505 MB / 303.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00655/0.1695, allocations: 2.712 MB / 306.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.173, allocations: 2.598 MB / 309.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006443/0.1795, allocations: 7.419 MB / 316.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.185, allocations: 6.505 MB / 323 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006283/0.1913, allocations: 4.279 MB / 327.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005121/0.1964, allocations: 3.811 MB / 331.1 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00173/0.1981, allocations: 0.6445 MB / 331.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.2014, allocations: 1.822 MB / 333.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.2046, allocations: 3.565 MB / 337.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.208, allocations: 2.279 MB / 339.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008377/0.2164, allocations: 7.529 MB / 346.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2164, allocations: 0 / 346.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2164, allocations: 0 / 346.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003176/0.2167, allocations: 0 / 346.9 MB, free: 7.172 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.01374/0.2304, allocations: 8.887 MB / 355.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2305, allocations: 8.031 kB / 355.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.2356, allocations: 2.993 MB / 358.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005495/0.2411, allocations: 3.726 MB / 362.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.2413, allocations: 427.5 kB / 363 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007831/0.2421, allocations: 0.5668 MB / 363.5 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.2582, allocations: 10.09 MB / 373.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.2584, allocations: 59.52 kB / 373.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.2589, allocations: 263.8 kB / 373.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/0.2614, allocations: 2.51 MB / 376.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.2748, allocations: 5.775 MB / 382.2 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3117/0.5865, allocations: 62.84 MB / 445.1 MB, free: 67.35 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.599, allocations: 5.016 MB / 450.1 MB, free: 67.2 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.6013, allocations: 1.293 MB / 451.4 MB, free: 67.15 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.6144, allocations: 9.484 MB / 460.9 MB, free: 65.62 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.6145, allocations: 63.61 kB / 460.9 MB, free: 65.58 MB / 378.8 MB Notification: Performance of pre-optimization done (n=265): time 6.081e-06/0.6145, allocations: 0 / 460.9 MB, free: 65.58 MB / 378.8 MB Notification: Performance of matching and sorting (n=331): time 0.05462/0.6691, allocations: 29.49 MB / 490.4 MB, free: 46.25 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009314/0.6784, allocations: 10.83 MB / 0.4895 GB, free: 35.05 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.6831, allocations: 4.965 MB / 0.4943 GB, free: 30.32 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009693/0.6841, allocations: 76.36 kB / 0.4944 GB, free: 30.24 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.6865, allocations: 5.004 MB / 0.4993 GB, free: 25.57 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002073/0.6886, allocations: 1.339 MB / 0.5006 GB, free: 24.25 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.6903, allocations: 1.993 MB / 0.5025 GB, free: 22.24 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.6904, allocations: 476.8 kB / 0.503 GB, free: 21.77 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.6924, allocations: 1.372 MB / 0.5043 GB, free: 20.39 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003831/0.6963, allocations: 8.993 MB / 0.5131 GB, free: 8.012 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008999/0.7053, allocations: 11.5 MB / 0.5243 GB, free: 9.516 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/0.7054, allocations: 52 kB / 0.5244 GB, free: 9.465 MB / 394.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.02076/0.7262, allocations: 10.98 MB / 0.5351 GB, free: 14.41 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.7263, allocations: 84 kB / 0.5352 GB, free: 14.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/0.7264, allocations: 180 kB / 0.5354 GB, free: 14.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01211/0.7386, allocations: 3.713 MB / 0.539 GB, free: 10.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/0.7444, allocations: 1.988 MB / 0.5409 GB, free: 8.418 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02826/0.7727, allocations: 21.42 MB / 0.5619 GB, free: 2.156 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006745/0.7794, allocations: 0.5957 MB / 0.5624 GB, free: 1.562 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.7807, allocations: 0.5506 MB / 0.563 GB, free: 1.012 MB / 426.8 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.002566/0.7833, allocations: 0.8865 MB / 0.5638 GB, free: 120 kB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.7846, allocations: 0.5945 MB / 0.5644 GB, free: 15.52 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.7958, allocations: 5.598 MB / 0.5699 GB, free: 9.832 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-05/0.7959, allocations: 44 kB / 0.5699 GB, free: 9.789 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008618/0.8045, allocations: 4.439 MB / 0.5743 GB, free: 5.266 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-05/0.8046, allocations: 15.95 kB / 0.5743 GB, free: 5.25 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1915/0.996, allocations: 14.64 MB / 0.5886 GB, free: 147.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.9961, allocations: 4.125 kB / 0.5886 GB, free: 147.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.9979, allocations: 463.3 kB / 0.589 GB, free: 147.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02589/1.024, allocations: 2.441 MB / 0.5914 GB, free: 147.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005466/1.024, allocations: 60.11 kB / 0.5915 GB, free: 147.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02868/1.053, allocations: 14.66 MB / 0.6058 GB, free: 139.7 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006758/1.06, allocations: 7.454 MB / 0.6131 GB, free: 135.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.072, allocations: 6.822 MB / 0.6197 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.073, allocations: 498.8 kB / 0.6202 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005248/1.074, allocations: 55.53 kB / 0.6203 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.075, allocations: 260 kB / 0.6205 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.076, allocations: 235.9 kB / 0.6207 GB, free: 133.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.076, allocations: 87.75 kB / 0.6208 GB, free: 133.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003028/1.079, allocations: 2.149 MB / 0.6229 GB, free: 132.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 6.12e-07/1.079, allocations: 0 / 0.6229 GB, free: 132.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006922/1.086, allocations: 2.03 MB / 0.6249 GB, free: 132 MB / 442.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 (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.0009261/1.087, allocations: 293.3 kB / 0.6252 GB, free: 131.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009147/1.096, allocations: 6.918 MB / 0.6319 GB, free: 126 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.096, allocations: 0 / 0.6319 GB, free: 126 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002873/1.099, allocations: 2.682 MB / 0.6345 GB, free: 123.5 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.102, allocations: 0.777 MB / 0.6353 GB, free: 122.9 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/1.119, allocations: 13.03 MB / 0.648 GB, free: 110.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/1.121, allocations: 2.029 MB / 0.65 GB, free: 108.1 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004063/1.125, allocations: 2.279 MB / 0.6522 GB, free: 105.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008204/1.125, allocations: 336.4 kB / 0.6526 GB, free: 105.5 MB / 442.8 MB Notification: Performance of SimCode: time 2.214e-06/1.125, allocations: 0 / 0.6526 GB, free: 105.5 MB / 442.8 MB Notification: Performance of Templates: time 0.2281/1.354, allocations: 83.34 MB / 0.7339 GB, free: 147.9 MB / 442.8 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.609165183734149]