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.001623/0.001623, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.002047/0.002047, allocations: 156.5 kB / 24.55 MB, free: 12 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.9896/0.9896, allocations: 177 MB / 204.8 MB, free: 5.574 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.295/0.295, allocations: 34.85 MB / 296.3 MB, free: 0.5312 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.874e-06/1.874e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.723e-05, allocations: 3.438 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01006/0.01009, allocations: 10.6 MB / 389.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.01769, allocations: 4.015 MB / 393.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.01891, allocations: 83.56 kB / 393.5 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.02197, allocations: 2.753 MB / 396.2 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.02535, allocations: 1.89 MB / 398.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.02656, allocations: 0.7912 MB / 398.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004456/0.03101, allocations: 4.922 MB / 403.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.03433, allocations: 3.308 MB / 407.1 MB, free: 5.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.03751, allocations: 2.346 MB / 409.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.04009, allocations: 2.299 MB / 411.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007273/0.04082, allocations: 320 kB / 412.1 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.04252, allocations: 1.186 MB / 413.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.04411, allocations: 2.045 MB / 415.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.04557, allocations: 1.25 MB / 416.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.04996, allocations: 4.464 MB / 421 MB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.04997, allocations: 0 / 421 MB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.04997, allocations: 0 / 421 MB, free: 7.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.296e-05/0.05005, allocations: 0 / 421 MB, free: 7.633 MB / 394.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.005729/0.05578, allocations: 5.078 MB / 426.1 MB, free: 2.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.05583, allocations: 8.031 kB / 426.1 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.05998, allocations: 2.44 MB / 428.5 MB, free: 44 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.06287, allocations: 2.086 MB / 430.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.06299, allocations: 238.4 kB / 430.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005205/0.06351, allocations: 396.2 kB / 431.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007553/0.07106, allocations: 6.102 MB / 437.4 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/0.07114, allocations: 39.64 kB / 437.4 MB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.0714, allocations: 151.9 kB / 437.5 MB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/0.07289, allocations: 1.755 MB / 439.3 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006343/0.07924, allocations: 3.368 MB / 442.7 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.2579, allocations: 42.28 MB / 484.9 MB, free: 55.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.2626, allocations: 2.169 MB / 487.1 MB, free: 55.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.2633, allocations: 0.575 MB / 487.7 MB, free: 55.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005049/0.2684, allocations: 4.643 MB / 492.3 MB, free: 52.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2684, allocations: 60.14 kB / 492.4 MB, free: 52.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.476e-06/0.2684, allocations: 3.156 kB / 492.4 MB, free: 52.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01918/0.2876, allocations: 10.66 MB / 0.4913 GB, free: 49.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008067/0.2884, allocations: 2.035 MB / 0.4932 GB, free: 47.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.2922, allocations: 3.464 MB / 0.4966 GB, free: 45.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.2925, allocations: 47.14 kB / 0.4967 GB, free: 45.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.294, allocations: 3.317 MB / 0.4999 GB, free: 43.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/0.2947, allocations: 0.691 MB / 0.5006 GB, free: 42.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.2959, allocations: 1.299 MB / 0.5019 GB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.2959, allocations: 476.8 kB / 0.5023 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.297, allocations: 0.6927 MB / 0.503 GB, free: 41.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.2997, allocations: 6.171 MB / 0.509 GB, free: 34.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/0.3048, allocations: 7.593 MB / 0.5164 GB, free: 25.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.3049, allocations: 39.25 kB / 0.5165 GB, free: 25.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01212/0.317, allocations: 6.697 MB / 0.523 GB, free: 23.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.3171, allocations: 67.78 kB / 0.5231 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005379/0.3225, allocations: 2.284 MB / 0.5253 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00527/0.3277, allocations: 1.914 MB / 0.5272 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.3304, allocations: 1.372 MB / 0.5285 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.3343, allocations: 4.794 MB / 0.5332 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.3381, allocations: 467.2 kB / 0.5336 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006678/0.3388, allocations: 366.9 kB / 0.534 GB, free: 14.79 MB / 410.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.001555/0.3403, allocations: 0.6558 MB / 0.5346 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/0.3409, allocations: 361.8 kB / 0.535 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3413, allocations: 353 kB / 0.5353 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00272/0.344, allocations: 1.277 MB / 0.5366 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.344, allocations: 4 kB / 0.5366 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.344, allocations: 5.906 kB / 0.5366 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.355, allocations: 6.686 MB / 0.5431 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.355, allocations: 4 kB / 0.5431 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.3559, allocations: 251.6 kB / 0.5433 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.3578, allocations: 0.6348 MB / 0.544 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.3579, allocations: 43.97 kB / 0.544 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.3606, allocations: 4.214 MB / 0.5481 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008437/0.3615, allocations: 1.909 MB / 0.55 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/0.3666, allocations: 2.899 MB / 0.5528 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/0.3675, allocations: 325.7 kB / 0.5531 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.3678, allocations: 35.98 kB / 0.5532 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.369, allocations: 171.7 kB / 0.5533 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.3693, allocations: 116.7 kB / 0.5534 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.3694, allocations: 47.98 kB / 0.5535 GB, free: 10.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002207/0.3716, allocations: 1.475 MB / 0.5549 GB, free: 9.293 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3716, allocations: 0 / 0.5549 GB, free: 9.293 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004871/0.3765, allocations: 1.098 MB / 0.556 GB, free: 8.195 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.000416/0.3769, allocations: 188.9 kB / 0.5562 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006718/0.3836, allocations: 3.637 MB / 0.5597 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3836, allocations: 0 / 0.5597 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.386, allocations: 1.365 MB / 0.5611 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.3883, allocations: 438.2 kB / 0.5615 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.4014, allocations: 7.577 MB / 0.5689 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.4028, allocations: 1.173 MB / 0.57 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002857/0.4056, allocations: 1.585 MB / 0.5716 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.4061, allocations: 232.4 kB / 0.5718 GB, free: 7.773 MB / 442.7 MB Notification: Performance of SimCode: time 2.315e-06/0.4061, allocations: 0 / 0.5718 GB, free: 7.773 MB / 442.7 MB Notification: Performance of Templates: time 0.04796/0.4541, allocations: 33.89 MB / 0.6049 GB, free: 6.375 MB / 474.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.649769676383585]