Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.001112/0.001112, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001163/0.001163, allocations: 168.9 kB / 24.91 MB, free: 8.762 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.9393/0.9393, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.542e-05, allocations: 3.016 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.009928/0.009944, allocations: 10.35 MB / 336.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009228/0.01917, allocations: 4.136 MB / 340.4 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.02144, allocations: 83.56 kB / 340.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004281/0.02572, allocations: 2.745 MB / 343.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.03087, allocations: 1.897 MB / 345.1 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.03267, allocations: 0.795 MB / 345.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005445/0.03811, allocations: 4.921 MB / 350.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004346/0.04246, allocations: 3.386 MB / 354.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.04582, allocations: 2.354 MB / 356.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.04898, allocations: 2.186 MB / 358.7 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006115/0.04959, allocations: 320 kB / 359.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.05152, allocations: 1.186 MB / 360.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.05334, allocations: 2.049 MB / 362.3 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.05462, allocations: 1.254 MB / 363.5 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004924/0.05954, allocations: 4.457 MB / 368 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.05955, allocations: 0 / 368 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.05955, allocations: 0 / 368 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.052e-05/0.05963, allocations: 4 kB / 368 MB, free: 12.86 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.004922/0.06455, allocations: 4.331 MB / 372.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.0646, allocations: 8.031 kB / 372.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.06731, allocations: 1.113 MB / 373.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.06948, allocations: 1.794 MB / 375.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.06959, allocations: 238.4 kB / 375.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/0.07009, allocations: 396.2 kB / 375.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.07468, allocations: 4.933 MB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.93e-05/0.07474, allocations: 43.62 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.07498, allocations: 147.9 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.07652, allocations: 1.584 MB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.0801, allocations: 2.596 MB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.09935, allocations: 30.06 MB / 415.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.1031, allocations: 1.812 MB / 417 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.1035, allocations: 390.8 kB / 417.4 MB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004431/0.1079, allocations: 4.039 MB / 421.5 MB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.108, allocations: 51.56 kB / 421.5 MB, free: 5.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 2.286e-05/0.108, allocations: 0 / 421.5 MB, free: 5.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=160): time 0.01346/0.1215, allocations: 6.078 MB / 427.6 MB, free: 15.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007222/0.1222, allocations: 1.473 MB / 429.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.1247, allocations: 3.074 MB / 432.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.1248, allocations: 53.69 kB / 432.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.1259, allocations: 2.963 MB / 435.2 MB, free: 7.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.1263, allocations: 0.6667 MB / 435.8 MB, free: 6.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008802/0.1271, allocations: 1.132 MB / 437 MB, free: 5.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003212/0.1275, allocations: 309.1 kB / 437.3 MB, free: 5.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.1285, allocations: 0.7932 MB / 438 MB, free: 4.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.131, allocations: 4.347 MB / 442.4 MB, free: 14.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004537/0.1356, allocations: 5.775 MB / 448.2 MB, free: 6.699 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/0.1356, allocations: 40 kB / 448.2 MB, free: 6.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.006547/0.1422, allocations: 4.574 MB / 452.8 MB, free: 2.051 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.1422, allocations: 60 kB / 452.8 MB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003146/0.1454, allocations: 1.061 MB / 453.9 MB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/0.1485, allocations: 0.6385 MB / 454.5 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1507/0.2992, allocations: 1.318 MB / 455.9 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.3024, allocations: 3.126 MB / 459 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.3059, allocations: 272.5 kB / 459.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005384/0.3064, allocations: 319.7 kB / 459.6 MB, free: 117.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001285/0.3077, allocations: 0.6137 MB / 460.2 MB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.3082, allocations: 205.5 kB / 460.4 MB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.3085, allocations: 357.4 kB / 460.7 MB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001401/0.3099, allocations: 0.7696 MB / 461.5 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.3099, allocations: 3.5 kB / 461.5 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3099, allocations: 12.38 kB / 461.5 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006461/0.3164, allocations: 4.514 MB / 466 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.3164, allocations: 3.906 kB / 466 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.3169, allocations: 211.3 kB / 466.2 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.3182, allocations: 0.5835 MB / 466.8 MB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/0.3183, allocations: 43.44 kB / 466.9 MB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.32, allocations: 2.84 MB / 469.7 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004101/0.3204, allocations: 1.351 MB / 471.1 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.323, allocations: 2.159 MB / 473.2 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/0.3237, allocations: 309 kB / 473.5 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.324, allocations: 34.77 kB / 473.5 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.3247, allocations: 29.36 kB / 473.6 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.3248, allocations: 113.5 kB / 473.7 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.3249, allocations: 43.16 kB / 473.7 MB, free: 111.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.326, allocations: 1.111 MB / 474.8 MB, free: 111.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.326, allocations: 0 / 474.8 MB, free: 111.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003894/0.3298, allocations: 1.107 MB / 475.9 MB, free: 111.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004285/0.3303, allocations: 160.3 kB / 476.1 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004172/0.3344, allocations: 2.907 MB / 479 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001785/0.3346, allocations: 96.16 kB / 479.1 MB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.3359, allocations: 0.8947 MB / 480 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.3381, allocations: 0.6256 MB / 480.6 MB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/0.3465, allocations: 7.316 MB / 487.9 MB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/0.3473, allocations: 1.167 MB / 489.1 MB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001262/0.3486, allocations: 480.2 kB / 489.6 MB, free: 99.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/0.3493, allocations: 0.5362 MB / 490.1 MB, free: 99.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3493, allocations: 0 / 490.1 MB, free: 99.17 MB / 426.7 MB Notification: Performance of Templates: time 0.0447/0.394, allocations: 36.65 MB / 0.5144 GB, free: 62.97 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.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: 4.208721094299108]