Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001431/0.001431, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001138/0.001138, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9072/0.9072, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2566/0.2566, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.42e-07/8.42e-07, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.881e-05, allocations: 2.312 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.007297/0.007316, allocations: 10.34 MB / 335.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.01301, allocations: 4.13 MB / 339.7 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006246/0.01364, allocations: 83.56 kB / 339.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.01598, allocations: 2.745 MB / 342.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.01817, allocations: 1.901 MB / 344.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.01916, allocations: 0.795 MB / 345.2 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00348/0.02264, allocations: 4.93 MB / 350.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.02515, allocations: 3.366 MB / 353.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.0271, allocations: 2.362 MB / 355.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.02893, allocations: 2.19 MB / 358.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.02925, allocations: 320 kB / 358.4 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.03047, allocations: 1.182 MB / 359.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.03159, allocations: 2.041 MB / 361.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009184/0.03251, allocations: 1.254 MB / 362.9 MB, free: 1.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.03555, allocations: 4.464 MB / 367.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.03556, allocations: 4 kB / 367.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03556, allocations: 0 / 367.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.39e-05/0.03561, allocations: 4 kB / 367.3 MB, free: 13.38 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.004033/0.03965, allocations: 4.32 MB / 371.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.03968, allocations: 11.97 kB / 371.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.04224, allocations: 1.113 MB / 372.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.04424, allocations: 1.79 MB / 374.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.04439, allocations: 242.4 kB / 374.8 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005381/0.04492, allocations: 404.2 kB / 375.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/0.04975, allocations: 4.929 MB / 380.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-05/0.04982, allocations: 39.64 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.05008, allocations: 147.9 kB / 380.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001264/0.05134, allocations: 1.588 MB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.05507, allocations: 2.6 MB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.07401, allocations: 30.05 MB / 414.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.07741, allocations: 1.82 MB / 416.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.07783, allocations: 396 kB / 416.8 MB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004415/0.08225, allocations: 4.035 MB / 420.8 MB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.08228, allocations: 55.5 kB / 420.8 MB, free: 5.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 3.296e-06/0.08229, allocations: 0 / 420.8 MB, free: 5.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=160): time 0.01247/0.09476, allocations: 6.066 MB / 426.9 MB, free: 15.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006858/0.09545, allocations: 1.484 MB / 428.4 MB, free: 14.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.0975, allocations: 3.074 MB / 431.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.09758, allocations: 49.7 kB / 431.5 MB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.09865, allocations: 2.963 MB / 434.5 MB, free: 7.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.09902, allocations: 0.6706 MB / 435.2 MB, free: 7.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000856/0.09987, allocations: 1.132 MB / 436.3 MB, free: 6.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.09994, allocations: 309.1 kB / 436.6 MB, free: 5.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.101, allocations: 0.7893 MB / 437.4 MB, free: 5.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.1035, allocations: 4.347 MB / 441.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003883/0.1074, allocations: 5.778 MB / 447.5 MB, free: 7.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.855e-05/0.1074, allocations: 40 kB / 447.5 MB, free: 7.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.006474/0.1139, allocations: 4.575 MB / 452.1 MB, free: 2.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.1139, allocations: 60 kB / 452.2 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003118/0.117, allocations: 1.069 MB / 453.2 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.1201, allocations: 0.627 MB / 453.9 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1456/0.2657, allocations: 1.318 MB / 455.2 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.2687, allocations: 3.131 MB / 458.3 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.2715, allocations: 276.2 kB / 458.6 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.2718, allocations: 326.8 kB / 458.9 MB, free: 117.2 MB / 426.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.001008/0.2728, allocations: 0.6097 MB / 459.5 MB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.2731, allocations: 205.7 kB / 459.7 MB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.2734, allocations: 353 kB / 460.1 MB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001369/0.2748, allocations: 0.7711 MB / 460.8 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2748, allocations: 0.875 kB / 460.8 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.2748, allocations: 10.91 kB / 460.8 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.2802, allocations: 4.51 MB / 465.4 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2803, allocations: 3.656 kB / 465.4 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.2807, allocations: 215.9 kB / 465.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.282, allocations: 0.5777 MB / 466.1 MB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.282, allocations: 44.72 kB / 466.2 MB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.2835, allocations: 2.845 MB / 469 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003684/0.2839, allocations: 1.342 MB / 470.4 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.2861, allocations: 2.169 MB / 472.5 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.2865, allocations: 304.7 kB / 472.8 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.2867, allocations: 36.25 kB / 472.9 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.2873, allocations: 32.2 kB / 472.9 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.2875, allocations: 111.8 kB / 473 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.2875, allocations: 39.75 kB / 473.1 MB, free: 111.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008436/0.2884, allocations: 1.11 MB / 474.2 MB, free: 111.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2884, allocations: 2.125 kB / 474.2 MB, free: 111.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002989/0.2914, allocations: 1.108 MB / 475.3 MB, free: 111.6 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.0003873/0.2918, allocations: 162.7 kB / 475.4 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.2949, allocations: 2.908 MB / 478.3 MB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001234/0.295, allocations: 96.16 kB / 478.4 MB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2961, allocations: 0.9016 MB / 479.3 MB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.2977, allocations: 0.6257 MB / 480 MB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.304, allocations: 7.3 MB / 487.3 MB, free: 101.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.3047, allocations: 1.168 MB / 488.4 MB, free: 101 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009302/0.3056, allocations: 478.7 kB / 488.9 MB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.3063, allocations: 0.5423 MB / 489.4 MB, free: 100 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3063, allocations: 0 / 489.4 MB, free: 100 MB / 426.7 MB Notification: Performance of Templates: time 0.04164/0.3479, allocations: 36.66 MB / 0.5138 GB, free: 63.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.14313700189814]