Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 79.75 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9225/0.9225, allocations: 177.1 MB / 205 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.789e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.132/0.1321, allocations: 18.11 MB / 291.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1436, allocations: 6.076 MB / 297.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.1464, allocations: 175.1 kB / 297.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007831/0.1543, allocations: 6.504 MB / 303.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.16, allocations: 2.717 MB / 306.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.1628, allocations: 2.598 MB / 309.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.1677, allocations: 7.41 MB / 316.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/0.1721, allocations: 6.505 MB / 323.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.176, allocations: 4.29 MB / 327.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.1796, allocations: 3.81 MB / 331.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009187/0.1805, allocations: 0.6445 MB / 331.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.1828, allocations: 1.818 MB / 333.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.1849, allocations: 3.565 MB / 337.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.187, allocations: 2.275 MB / 339.5 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00716/0.1942, allocations: 7.533 MB / 347 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1942, allocations: 0 / 347 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1942, allocations: 0 / 347 MB, free: 7.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002983/0.1945, allocations: 0 / 347 MB, free: 7.164 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.01155/0.2061, allocations: 8.895 MB / 355.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2061, allocations: 8.031 kB / 355.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.2108, allocations: 2.986 MB / 358.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.2154, allocations: 3.73 MB / 362.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.2156, allocations: 427.5 kB / 363 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000656/0.2162, allocations: 0.5669 MB / 363.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.2286, allocations: 10.09 MB / 373.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.2288, allocations: 51.53 kB / 373.7 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004098/0.2292, allocations: 263.8 kB / 374 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/0.2314, allocations: 2.513 MB / 376.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.2418, allocations: 5.79 MB / 382.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2602/0.502, allocations: 62.82 MB / 445.1 MB, free: 67.33 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.5129, allocations: 5.023 MB / 450.1 MB, free: 67.18 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.5144, allocations: 1.297 MB / 451.4 MB, free: 67.13 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.5246, allocations: 9.476 MB / 460.9 MB, free: 65.6 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5246, allocations: 66.67 kB / 461 MB, free: 65.56 MB / 378.8 MB Notification: Performance of pre-optimization done (n=265): time 3.977e-06/0.5246, allocations: 0 / 461 MB, free: 65.56 MB / 378.8 MB Notification: Performance of matching and sorting (n=331): time 0.05513/0.5797, allocations: 29.48 MB / 490.5 MB, free: 46.39 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009646/0.5894, allocations: 10.84 MB / 0.4896 GB, free: 35.19 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.5943, allocations: 4.969 MB / 0.4944 GB, free: 30.45 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006679/0.595, allocations: 73.7 kB / 0.4945 GB, free: 30.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.5966, allocations: 5.003 MB / 0.4994 GB, free: 25.71 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009021/0.5975, allocations: 1.34 MB / 0.5007 GB, free: 24.38 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.5991, allocations: 1.988 MB / 0.5026 GB, free: 22.38 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.5991, allocations: 480.8 kB / 0.5031 GB, free: 21.91 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.601, allocations: 1.372 MB / 0.5044 GB, free: 20.53 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/0.6047, allocations: 8.987 MB / 0.5132 GB, free: 8.148 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/0.6128, allocations: 11.5 MB / 0.5244 GB, free: 9.629 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.734e-05/0.6128, allocations: 55.12 kB / 0.5245 GB, free: 9.578 MB / 394.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.0189/0.6317, allocations: 10.98 MB / 0.5352 GB, free: 14.52 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.6318, allocations: 80 kB / 0.5353 GB, free: 14.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/0.632, allocations: 180 kB / 0.5354 GB, free: 14.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008978/0.6409, allocations: 3.712 MB / 0.5391 GB, free: 10.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/0.6449, allocations: 1.996 MB / 0.541 GB, free: 8.535 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.6659, allocations: 21.41 MB / 0.5619 GB, free: 2.277 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/0.6712, allocations: 0.5852 MB / 0.5625 GB, free: 1.691 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007722/0.672, allocations: 0.558 MB / 0.563 GB, free: 1.137 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.002099/0.6741, allocations: 0.8866 MB / 0.5639 GB, free: 240 kB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000867/0.6749, allocations: 0.5983 MB / 0.5645 GB, free: 15.63 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009613/0.6845, allocations: 5.594 MB / 0.57 GB, free: 9.953 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/0.6846, allocations: 51.98 kB / 0.57 GB, free: 9.902 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008254/0.6928, allocations: 4.431 MB / 0.5743 GB, free: 5.387 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.6929, allocations: 19.94 kB / 0.5743 GB, free: 5.367 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1616/0.8544, allocations: 14.64 MB / 0.5886 GB, free: 147.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.8545, allocations: 4.219 kB / 0.5887 GB, free: 147.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.8562, allocations: 458.2 kB / 0.5891 GB, free: 147.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007703/0.8639, allocations: 2.443 MB / 0.5915 GB, free: 147 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000284/0.8642, allocations: 61.08 kB / 0.5915 GB, free: 147 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.8819, allocations: 14.68 MB / 0.6059 GB, free: 139.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008035/0.8899, allocations: 7.452 MB / 0.6131 GB, free: 135.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02277/0.9127, allocations: 6.818 MB / 0.6198 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004335/0.917, allocations: 493.1 kB / 0.6203 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/0.9177, allocations: 55.47 kB / 0.6203 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00522/0.9229, allocations: 266.5 kB / 0.6206 GB, free: 133.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/0.9236, allocations: 235.8 kB / 0.6208 GB, free: 133.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/0.9239, allocations: 90.66 kB / 0.6209 GB, free: 133.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006262/0.9301, allocations: 2.144 MB / 0.623 GB, free: 132.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9301, allocations: 0 / 0.623 GB, free: 132.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0164/0.9466, allocations: 2.029 MB / 0.625 GB, free: 132.2 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.0007569/0.9473, allocations: 296.9 kB / 0.6252 GB, free: 132 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008142/0.9554, allocations: 6.919 MB / 0.632 GB, free: 126.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9555, allocations: 0 / 0.632 GB, free: 126.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.9579, allocations: 2.679 MB / 0.6346 GB, free: 123.7 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.9605, allocations: 0.7801 MB / 0.6354 GB, free: 123.1 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.975, allocations: 13.01 MB / 0.6481 GB, free: 110.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.9768, allocations: 2.028 MB / 0.6501 GB, free: 108.4 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00331/0.9801, allocations: 2.283 MB / 0.6523 GB, free: 106.1 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/0.9808, allocations: 344.4 kB / 0.6526 GB, free: 105.8 MB / 442.8 MB Notification: Performance of SimCode: time 2.094e-06/0.9808, allocations: 0 / 0.6526 GB, free: 105.8 MB / 442.8 MB Notification: Performance of Templates: time 0.2139/1.195, allocations: 83.34 MB / 0.734 GB, free: 148.2 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.404144326224923]