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.001511/0.001511, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.002045/0.002045, allocations: 163.8 kB / 24.84 MB, free: 9.301 MB / 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.079/1.079, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1424/0.1424, allocations: 32.37 MB / 271.5 MB, free: 14.55 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 1.993e-06/1.993e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.302e-05, allocations: 6.25 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008174/0.008207, allocations: 10.78 MB / 359.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.01617, allocations: 4.039 MB / 363.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.0186, allocations: 83.56 kB / 363.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.02272, allocations: 2.745 MB / 366.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.02773, allocations: 1.998 MB / 368.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.02934, allocations: 0.795 MB / 369.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006438/0.03578, allocations: 4.913 MB / 374.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004524/0.0403, allocations: 3.378 MB / 377.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.04531, allocations: 2.459 MB / 380.1 MB, free: 9.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.04914, allocations: 2.393 MB / 382.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.05014, allocations: 340 kB / 382.8 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.05248, allocations: 1.221 MB / 384 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002374/0.05485, allocations: 2.155 MB / 386.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.05751, allocations: 1.332 MB / 387.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008192/0.0657, allocations: 4.706 MB / 392.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.06571, allocations: 0 / 392.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06571, allocations: 0 / 392.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.06596, allocations: 0 / 392.2 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.008838/0.0748, allocations: 5.102 MB / 397.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.07484, allocations: 8.031 kB / 397.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.07955, allocations: 1.512 MB / 398.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.08334, allocations: 2 MB / 400.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.08352, allocations: 254.5 kB / 401.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007874/0.08431, allocations: 404.2 kB / 401.5 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.09432, allocations: 5.678 MB / 407.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.09446, allocations: 39.64 kB / 407.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/0.09487, allocations: 151.9 kB / 407.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001647/0.09652, allocations: 1.701 MB / 409.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006365/0.1029, allocations: 2.77 MB / 411.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2067/0.3096, allocations: 43.02 MB / 454.8 MB, free: 66.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007929/0.3175, allocations: 1.945 MB / 456.8 MB, free: 66.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3189, allocations: 0.4961 MB / 457.3 MB, free: 65.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006797/0.3257, allocations: 4.536 MB / 461.8 MB, free: 64.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.3258, allocations: 57.08 kB / 461.9 MB, free: 64.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.318e-06/0.3258, allocations: 3.375 kB / 461.9 MB, free: 64.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01758/0.3434, allocations: 6.999 MB / 468.9 MB, free: 64.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00074/0.3441, allocations: 2.017 MB / 470.9 MB, free: 62.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/0.3471, allocations: 3.526 MB / 474.4 MB, free: 61.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.3474, allocations: 53 kB / 474.5 MB, free: 61.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.3486, allocations: 3.488 MB / 478 MB, free: 59.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.3492, allocations: 0.7316 MB / 478.7 MB, free: 58.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.3502, allocations: 1.363 MB / 480.1 MB, free: 57.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.3502, allocations: 480.8 kB / 480.5 MB, free: 57.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008874/0.3511, allocations: 0.6415 MB / 481.2 MB, free: 56.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.3534, allocations: 6.338 MB / 487.5 MB, free: 48.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/0.3585, allocations: 7.73 MB / 495.2 MB, free: 38.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/0.3586, allocations: 40 kB / 495.3 MB, free: 38.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01022/0.3688, allocations: 5.488 MB / 0.489 GB, free: 32.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.3689, allocations: 64 kB / 0.4891 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003664/0.3726, allocations: 1.231 MB / 0.4903 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/0.3762, allocations: 0.6465 MB / 0.4909 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.3788, allocations: 1.372 MB / 0.4923 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.3819, allocations: 4.266 MB / 0.4964 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/0.3857, allocations: 271.8 kB / 0.4967 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/0.3861, allocations: 340 kB / 0.497 GB, free: 24.34 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.001449/0.3876, allocations: 0.6687 MB / 0.4977 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005949/0.3882, allocations: 377.7 kB / 0.498 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.3902, allocations: 1.424 MB / 0.4994 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001489/0.3917, allocations: 0.9728 MB / 0.5004 GB, free: 20.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3917, allocations: 4 kB / 0.5004 GB, free: 20.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3917, allocations: 7.594 kB / 0.5004 GB, free: 20.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007884/0.3996, allocations: 5.527 MB / 0.5058 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.3996, allocations: 6.516 kB / 0.5058 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.4002, allocations: 223.7 kB / 0.506 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.4014, allocations: 440.2 kB / 0.5064 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.4015, allocations: 47.97 kB / 0.5065 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.4034, allocations: 3.972 MB / 0.5103 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004941/0.4039, allocations: 1.873 MB / 0.5122 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.4073, allocations: 2.592 MB / 0.5147 GB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/0.408, allocations: 329.6 kB / 0.515 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.4083, allocations: 43.91 kB / 0.515 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.409, allocations: 31.98 kB / 0.5151 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.4092, allocations: 120.7 kB / 0.5152 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.4093, allocations: 43.98 kB / 0.5152 GB, free: 5.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.4105, allocations: 1.406 MB / 0.5166 GB, free: 3.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4105, allocations: 1.094 kB / 0.5166 GB, free: 3.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00448/0.4149, allocations: 1.168 MB / 0.5178 GB, free: 2.441 MB / 378.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.0004545/0.4154, allocations: 186.9 kB / 0.5179 GB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00461/0.42, allocations: 3.331 MB / 0.5212 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.42, allocations: 0 / 0.5212 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.4216, allocations: 1.109 MB / 0.5223 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.4236, allocations: 425.6 kB / 0.5227 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.4366, allocations: 7.907 MB / 0.5304 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.4378, allocations: 1.232 MB / 0.5316 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001473/0.4393, allocations: 495.5 kB / 0.5321 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/0.4402, allocations: 0.6035 MB / 0.5327 GB, free: 2.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4402, allocations: 0 / 0.5327 GB, free: 2.91 MB / 394.7 MB Notification: Performance of Templates: time 0.06021/0.5004, allocations: 38.7 MB / 0.5705 GB, free: 12.21 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.791399005334824]