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.001042/0.001042, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001085/0.001085, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9993/0.9993, allocations: 177 MB / 205.1 MB, free: 5.473 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.273/0.273, allocations: 34.87 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.733e-06/1.733e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.522e-05, allocations: 3.297 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008756/0.008781, allocations: 10.35 MB / 389.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008116/0.0169, allocations: 3.972 MB / 393.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.01895, allocations: 79.62 kB / 393.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.0223, allocations: 2.721 MB / 396.3 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.02689, allocations: 1.886 MB / 398.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.02837, allocations: 0.8028 MB / 399 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00556/0.03393, allocations: 4.919 MB / 403.9 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004254/0.03819, allocations: 3.304 MB / 407.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005569/0.04376, allocations: 2.362 MB / 409.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.04693, allocations: 2.291 MB / 411.9 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007825/0.04771, allocations: 324 kB / 412.2 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.04954, allocations: 1.19 MB / 413.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.05139, allocations: 2.041 MB / 415.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.05278, allocations: 1.254 MB / 416.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005404/0.05819, allocations: 4.468 MB / 421.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.05819, allocations: 0 / 421.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.05819, allocations: 0 / 421.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.05838, allocations: 0 / 421.2 MB, free: 7.684 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.00704/0.06542, allocations: 4.875 MB / 426 MB, free: 2.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.06548, allocations: 12.03 kB / 426.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.06911, allocations: 1.496 MB / 427.6 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.07268, allocations: 1.922 MB / 429.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004738/0.07316, allocations: 234.4 kB / 429.7 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007294/0.07389, allocations: 408.2 kB / 430.1 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007816/0.0817, allocations: 5.496 MB / 435.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.212e-05/0.08179, allocations: 43.62 kB / 435.6 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.08206, allocations: 155.9 kB / 435.8 MB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/0.08369, allocations: 1.584 MB / 437.4 MB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/0.089, allocations: 2.635 MB / 440 MB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2056/0.2946, allocations: 41.83 MB / 481.8 MB, free: 57.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00508/0.2997, allocations: 1.919 MB / 483.8 MB, free: 57.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.3003, allocations: 483.4 kB / 484.2 MB, free: 56.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00601/0.3063, allocations: 4.441 MB / 488.7 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3064, allocations: 51.92 kB / 488.7 MB, free: 54.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 4.739e-06/0.3064, allocations: 0 / 488.7 MB, free: 54.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01898/0.3253, allocations: 6.864 MB / 495.6 MB, free: 53.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000731/0.3261, allocations: 2.01 MB / 497.6 MB, free: 51.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.3292, allocations: 3.434 MB / 0.4893 GB, free: 50.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.3294, allocations: 47.64 kB / 0.4893 GB, free: 50 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.3308, allocations: 3.341 MB / 0.4926 GB, free: 47.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.3313, allocations: 0.7037 MB / 0.4933 GB, free: 47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.3327, allocations: 1.325 MB / 0.4946 GB, free: 46.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.3327, allocations: 477.8 kB / 0.495 GB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.3339, allocations: 0.6225 MB / 0.4956 GB, free: 45.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.3369, allocations: 6.137 MB / 0.5016 GB, free: 38.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.3422, allocations: 7.483 MB / 0.5089 GB, free: 30 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/0.3423, allocations: 37.81 kB / 0.509 GB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.009693/0.352, allocations: 5.314 MB / 0.5142 GB, free: 28.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.3521, allocations: 66.44 kB / 0.5142 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003472/0.3556, allocations: 1.201 MB / 0.5154 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/0.3591, allocations: 0.64 MB / 0.516 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.362, allocations: 1.324 MB / 0.5173 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.3654, allocations: 4.25 MB / 0.5215 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/0.3689, allocations: 264.9 kB / 0.5217 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/0.3694, allocations: 329.5 kB / 0.522 GB, free: 23.68 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.00121/0.3706, allocations: 0.6534 MB / 0.5227 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.371, allocations: 362.6 kB / 0.523 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3713, allocations: 353.6 kB / 0.5234 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001595/0.3729, allocations: 0.9251 MB / 0.5243 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.3729, allocations: 7.938 kB / 0.5243 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.3729, allocations: 10.61 kB / 0.5243 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007492/0.3804, allocations: 5.279 MB / 0.5294 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3804, allocations: 4.469 kB / 0.5294 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.3809, allocations: 220.1 kB / 0.5297 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.3822, allocations: 437.1 kB / 0.5301 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.3823, allocations: 44.34 kB / 0.5301 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.3841, allocations: 3.987 MB / 0.534 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004413/0.3846, allocations: 1.863 MB / 0.5358 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.3874, allocations: 2.503 MB / 0.5383 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.3881, allocations: 306.8 kB / 0.5386 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.3883, allocations: 39.23 kB / 0.5386 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.389, allocations: 33.2 kB / 0.5386 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.3892, allocations: 120.2 kB / 0.5387 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.3893, allocations: 39.61 kB / 0.5388 GB, free: 8.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.3905, allocations: 1.368 MB / 0.5401 GB, free: 7.512 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3905, allocations: 0 / 0.5401 GB, free: 7.512 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00409/0.3946, allocations: 1.109 MB / 0.5412 GB, free: 6.406 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.0003407/0.3949, allocations: 182.7 kB / 0.5414 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004567/0.3995, allocations: 3.231 MB / 0.5445 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.3995, allocations: 0 / 0.5445 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.4008, allocations: 1.082 MB / 0.5456 GB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.4026, allocations: 430.2 kB / 0.546 GB, free: 2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.4128, allocations: 7.552 MB / 0.5534 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.4139, allocations: 1.176 MB / 0.5545 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001313/0.4153, allocations: 473.9 kB / 0.555 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/0.4161, allocations: 0.584 MB / 0.5555 GB, free: 8.523 MB / 426.7 MB Notification: Performance of SimCode: time 2.003e-06/0.4161, allocations: 0 / 0.5555 GB, free: 8.523 MB / 426.7 MB Notification: Performance of Templates: time 0.05242/0.4685, allocations: 36.76 MB / 0.5914 GB, free: 4.043 MB / 458.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.341006658039987]