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.001107/0.001107, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001354/0.001354, allocations: 166.3 kB / 25.61 MB, free: 8.582 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.904/0.904, allocations: 177 MB / 205.9 MB, free: 4.441 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.1382/0.1382, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.933e-06/1.933e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.164e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.006562/0.006584, allocations: 10.34 MB / 390.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005795/0.01238, allocations: 3.985 MB / 394.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.01359, allocations: 83.56 kB / 394.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.01595, allocations: 2.702 MB / 397.1 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.01852, allocations: 1.89 MB / 399 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.01951, allocations: 0.8067 MB / 399.8 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003249/0.02276, allocations: 4.916 MB / 404.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.02563, allocations: 3.296 MB / 408 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.0279, allocations: 2.362 MB / 410.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.03041, allocations: 2.287 MB / 412.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.03077, allocations: 324 kB / 413 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.0323, allocations: 1.193 MB / 414.2 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.0335, allocations: 2.049 MB / 416.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.03452, allocations: 1.25 MB / 417.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.0389, allocations: 4.468 MB / 421.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.0389, allocations: 0 / 421.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.03891, allocations: 0 / 421.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.15e-05/0.03897, allocations: 0 / 421.9 MB, free: 12.63 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.005014/0.04398, allocations: 4.882 MB / 426.8 MB, free: 7.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.04402, allocations: 8.031 kB / 426.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.04749, allocations: 1.489 MB / 428.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.04969, allocations: 1.93 MB / 430.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.04982, allocations: 238.4 kB / 430.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005218/0.05034, allocations: 396.2 kB / 430.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/0.05644, allocations: 5.508 MB / 436.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.939e-05/0.05652, allocations: 51.59 kB / 436.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.05677, allocations: 147.9 kB / 436.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/0.05811, allocations: 1.58 MB / 438.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.06312, allocations: 2.639 MB / 440.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03062/0.09375, allocations: 41.84 MB / 482.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.09814, allocations: 1.907 MB / 484.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.09869, allocations: 495.3 kB / 485 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005072/0.1038, allocations: 4.441 MB / 489.5 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1038, allocations: 50.39 kB / 489.5 MB, free: 6.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.206e-06/0.1038, allocations: 0 / 489.5 MB, free: 6.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.1818/0.2856, allocations: 6.855 MB / 496.4 MB, free: 111.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006858/0.2863, allocations: 2.004 MB / 498.4 MB, free: 109.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.2894, allocations: 3.433 MB / 0.49 GB, free: 109.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.2896, allocations: 49.39 kB / 0.4901 GB, free: 109.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.2909, allocations: 3.346 MB / 0.4934 GB, free: 108 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/0.2914, allocations: 0.697 MB / 0.494 GB, free: 107.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.2927, allocations: 1.327 MB / 0.4953 GB, free: 107.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.2928, allocations: 483.3 kB / 0.4958 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.2937, allocations: 0.6232 MB / 0.4964 GB, free: 107.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.2959, allocations: 6.132 MB / 0.5024 GB, free: 99.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.2997, allocations: 7.484 MB / 0.5097 GB, free: 92.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-05/0.2997, allocations: 39.38 kB / 0.5097 GB, free: 92.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.007612/0.3073, allocations: 5.305 MB / 0.5149 GB, free: 89.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.3074, allocations: 60 kB / 0.515 GB, free: 89.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003456/0.3108, allocations: 1.2 MB / 0.5161 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/0.3143, allocations: 0.6463 MB / 0.5168 GB, free: 88.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.3164, allocations: 1.323 MB / 0.5181 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.3194, allocations: 4.25 MB / 0.5222 GB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.3223, allocations: 274.6 kB / 0.5225 GB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.3226, allocations: 316 kB / 0.5228 GB, free: 82.4 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.00104/0.3236, allocations: 0.6599 MB / 0.5234 GB, free: 81.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.324, allocations: 368.2 kB / 0.5238 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.3243, allocations: 358.1 kB / 0.5241 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001477/0.3258, allocations: 0.9299 MB / 0.525 GB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3258, allocations: 0 / 0.525 GB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.3258, allocations: 11.97 kB / 0.525 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006454/0.3322, allocations: 5.264 MB / 0.5302 GB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3323, allocations: 4 kB / 0.5302 GB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.3328, allocations: 219.6 kB / 0.5304 GB, free: 74.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.334, allocations: 430.4 kB / 0.5308 GB, free: 74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.363e-05/0.3341, allocations: 47.97 kB / 0.5308 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.3358, allocations: 3.97 MB / 0.5347 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000417/0.3362, allocations: 1.88 MB / 0.5366 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.339, allocations: 2.497 MB / 0.539 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.3395, allocations: 320.6 kB / 0.5393 GB, free: 64.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.3397, allocations: 35.98 kB / 0.5393 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.3404, allocations: 38.28 kB / 0.5394 GB, free: 64.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.3406, allocations: 115.7 kB / 0.5395 GB, free: 64.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.3406, allocations: 43.98 kB / 0.5395 GB, free: 64.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.3417, allocations: 1.369 MB / 0.5409 GB, free: 63.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3417, allocations: 0 / 0.5409 GB, free: 63.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003311/0.345, allocations: 1.101 MB / 0.5419 GB, free: 62.17 MB / 410.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.0003183/0.3453, allocations: 178.9 kB / 0.5421 GB, free: 61.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.3491, allocations: 3.228 MB / 0.5453 GB, free: 58.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3491, allocations: 7.938 kB / 0.5453 GB, free: 58.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.3503, allocations: 1.073 MB / 0.5463 GB, free: 57.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.3517, allocations: 447.4 kB / 0.5467 GB, free: 57.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/0.36, allocations: 7.547 MB / 0.5541 GB, free: 49.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.3608, allocations: 1.174 MB / 0.5553 GB, free: 48.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001108/0.3619, allocations: 482.7 kB / 0.5557 GB, free: 47.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.3626, allocations: 0.5879 MB / 0.5563 GB, free: 47.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.405e-06/0.3626, allocations: 0 / 0.5563 GB, free: 47.22 MB / 410.7 MB Notification: Performance of Templates: time 0.04645/0.4091, allocations: 37.57 MB / 0.593 GB, free: 10.07 MB / 410.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.562024001963437]