Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.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.001017/0.001017, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.0009905/0.0009905, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.03/1.03, allocations: 158.6 MB / 185.9 MB, free: 2.395 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1575/0.1575, allocations: 32.37 MB / 270.7 MB, free: 14.51 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.492e-05, allocations: 9.344 kB / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008285/0.00832, allocations: 10.78 MB / 358.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.01602, allocations: 4.035 MB / 362.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.01829, allocations: 83.56 kB / 363 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.02187, allocations: 2.745 MB / 365.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.02815, allocations: 1.991 MB / 367.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.03064, allocations: 0.7873 MB / 368.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005949/0.03658, allocations: 4.928 MB / 373.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004202/0.04079, allocations: 3.374 MB / 376.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.04559, allocations: 2.456 MB / 379.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.04919, allocations: 2.4 MB / 381.7 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008661/0.05006, allocations: 340 kB / 382 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.05226, allocations: 1.217 MB / 383.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.05456, allocations: 2.158 MB / 385.4 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.05654, allocations: 1.328 MB / 386.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.06316, allocations: 4.709 MB / 391.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.06316, allocations: 0 / 391.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.06317, allocations: 4 kB / 391.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002756/0.06344, allocations: 0 / 391.4 MB, free: 13.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.008758/0.0722, allocations: 5.098 MB / 396.5 MB, free: 8.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.07225, allocations: 8.031 kB / 396.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.07611, allocations: 1.516 MB / 398.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.07924, allocations: 1.996 MB / 400.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.07938, allocations: 242.6 kB / 400.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006314/0.08001, allocations: 416.2 kB / 400.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008947/0.08896, allocations: 5.678 MB / 406.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.08907, allocations: 43.64 kB / 406.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.08946, allocations: 151.9 kB / 406.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/0.09096, allocations: 1.697 MB / 408.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006404/0.09737, allocations: 2.77 MB / 411 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2225/0.3199, allocations: 43.01 MB / 454.1 MB, free: 54.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/0.3242, allocations: 1.955 MB / 456 MB, free: 54.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.325, allocations: 0.4989 MB / 456.5 MB, free: 54.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007128/0.3321, allocations: 4.538 MB / 461 MB, free: 53.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.3322, allocations: 55.58 kB / 461.1 MB, free: 53.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.819e-06/0.3322, allocations: 0 / 461.1 MB, free: 53.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01687/0.349, allocations: 7.014 MB / 468.1 MB, free: 52.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007248/0.3498, allocations: 2.007 MB / 470.1 MB, free: 50.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.3525, allocations: 3.529 MB / 473.6 MB, free: 49.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.3527, allocations: 51.89 kB / 473.7 MB, free: 49.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.3539, allocations: 3.483 MB / 477.2 MB, free: 47.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/0.3544, allocations: 0.7305 MB / 477.9 MB, free: 47.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.3555, allocations: 1.378 MB / 479.3 MB, free: 47.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.3556, allocations: 479.6 kB / 479.8 MB, free: 46.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3566, allocations: 0.6395 MB / 480.4 MB, free: 46.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.3592, allocations: 6.337 MB / 486.7 MB, free: 39.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005204/0.3644, allocations: 7.72 MB / 494.5 MB, free: 30.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001888/0.3646, allocations: 40 kB / 494.5 MB, free: 30.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01069/0.3753, allocations: 5.486 MB / 500 MB, free: 26.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.3753, allocations: 68.22 kB / 0.4883 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003448/0.3788, allocations: 1.239 MB / 0.4895 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/0.382, allocations: 0.6494 MB / 0.4902 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.3845, allocations: 1.373 MB / 0.4915 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.3874, allocations: 4.258 MB / 0.4957 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.3908, allocations: 271.7 kB / 0.4959 GB, free: 18.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004556/0.3912, allocations: 338.3 kB / 0.4963 GB, free: 17.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (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 (770): * Single equations (assignments): 761 * 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.001408/0.3926, allocations: 0.6642 MB / 0.4969 GB, free: 17.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005744/0.3932, allocations: 385.4 kB / 0.4973 GB, free: 16.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.3951, allocations: 1.427 MB / 0.4987 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001424/0.3966, allocations: 0.9728 MB / 0.4996 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3966, allocations: 0 / 0.4996 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3966, allocations: 7.984 kB / 0.4996 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008069/0.4046, allocations: 5.523 MB / 0.505 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.4047, allocations: 4 kB / 0.505 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.4053, allocations: 227.7 kB / 0.5052 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.4064, allocations: 441.5 kB / 0.5057 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/0.4065, allocations: 41.94 kB / 0.5057 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.4085, allocations: 3.982 MB / 0.5096 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004923/0.409, allocations: 1.88 MB / 0.5114 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.4124, allocations: 2.597 MB / 0.514 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/0.4132, allocations: 321.6 kB / 0.5143 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.4135, allocations: 43.92 kB / 0.5143 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.4142, allocations: 39.66 kB / 0.5143 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4144, allocations: 120.7 kB / 0.5145 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.4145, allocations: 41.52 kB / 0.5145 GB, free: 14.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001603/0.4161, allocations: 1.41 MB / 0.5159 GB, free: 13.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4161, allocations: 0 / 0.5159 GB, free: 13.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004556/0.4207, allocations: 1.16 MB / 0.517 GB, free: 12.4 MB / 394.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 (136): * Single equations (assignments): 129 * 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.0004409/0.4211, allocations: 199.8 kB / 0.5172 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005188/0.4263, allocations: 3.313 MB / 0.5204 GB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.4263, allocations: 4 kB / 0.5204 GB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.4279, allocations: 1.116 MB / 0.5215 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.4306, allocations: 443.4 kB / 0.5219 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.4427, allocations: 7.884 MB / 0.5296 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.4442, allocations: 1.228 MB / 0.5308 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001656/0.4459, allocations: 495.7 kB / 0.5313 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009213/0.4468, allocations: 0.6035 MB / 0.5319 GB, free: 12.99 MB / 410.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4468, allocations: 0 / 0.5319 GB, free: 12.99 MB / 410.7 MB Notification: Performance of Templates: time 0.05476/0.5016, allocations: 37.86 MB / 0.5689 GB, free: 7.27 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4550522500649095]