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.001402/0.001402, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001539/0.001539, allocations: 173 kB / 24.25 MB, free: 308 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 0.9343/0.9343, allocations: 158.6 MB / 186 MB, free: 2.523 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.1374/0.1374, allocations: 32.38 MB / 270.7 MB, free: 14.74 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.623e-06/1.623e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.476e-05, allocations: 9.406 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01094/0.01096, allocations: 11.03 MB / 358.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006363/0.01732, allocations: 4.058 MB / 362.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.01833, allocations: 79.62 kB / 362.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.02119, allocations: 2.78 MB / 365.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.02425, allocations: 1.987 MB / 367.6 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.02575, allocations: 0.795 MB / 368.4 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004456/0.03021, allocations: 4.91 MB / 373.3 MB, free: 60 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.03371, allocations: 3.382 MB / 376.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.03643, allocations: 2.44 MB / 379.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.03856, allocations: 2.397 MB / 381.5 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007049/0.03926, allocations: 340 kB / 381.8 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.04065, allocations: 1.225 MB / 383.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.04193, allocations: 2.151 MB / 385.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.043, allocations: 1.324 MB / 386.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004362/0.04736, allocations: 4.717 MB / 391.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.04737, allocations: 0 / 391.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.04737, allocations: 0 / 391.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.094e-05/0.04742, allocations: 0 / 391.3 MB, free: 13.99 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.005814/0.05323, allocations: 5.294 MB / 396.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.05328, allocations: 8.031 kB / 396.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.0577, allocations: 2.451 MB / 399 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.05989, allocations: 2.172 MB / 401.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.06001, allocations: 242.6 kB / 401.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.06055, allocations: 412.2 kB / 401.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007013/0.06756, allocations: 6.292 MB / 408.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/0.06764, allocations: 43.64 kB / 408.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.06791, allocations: 155.9 kB / 408.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001807/0.06972, allocations: 1.88 MB / 410.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/0.07574, allocations: 3.499 MB / 413.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1893/0.2651, allocations: 43.46 MB / 457.1 MB, free: 71.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/0.27, allocations: 2.228 MB / 459.4 MB, free: 71.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006902/0.2707, allocations: 0.5839 MB / 460 MB, free: 71.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004909/0.2756, allocations: 4.758 MB / 464.7 MB, free: 70.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.2756, allocations: 57.94 kB / 464.8 MB, free: 70.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.637e-06/0.2756, allocations: 0 / 464.8 MB, free: 70.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01754/0.2931, allocations: 10.93 MB / 475.7 MB, free: 66.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006654/0.2938, allocations: 2.05 MB / 477.8 MB, free: 63.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.2966, allocations: 3.539 MB / 481.3 MB, free: 60.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.2967, allocations: 52.44 kB / 481.3 MB, free: 60.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.2977, allocations: 3.454 MB / 484.8 MB, free: 57.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.2981, allocations: 0.731 MB / 485.5 MB, free: 56.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008955/0.299, allocations: 1.34 MB / 486.9 MB, free: 55.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.159e-05/0.299, allocations: 484.7 kB / 487.3 MB, free: 54.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009682/0.3, allocations: 0.7108 MB / 488 MB, free: 53.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.3021, allocations: 6.368 MB / 494.4 MB, free: 44.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.306, allocations: 7.847 MB / 0.4905 GB, free: 34.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-05/0.306, allocations: 40 kB / 0.4905 GB, free: 34.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.009765/0.3158, allocations: 6.801 MB / 0.4972 GB, free: 27.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.3158, allocations: 67.94 kB / 0.4972 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004631/0.3204, allocations: 2.268 MB / 0.4995 GB, free: 25.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004783/0.3252, allocations: 1.823 MB / 0.5012 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.3275, allocations: 1.427 MB / 0.5026 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.3313, allocations: 4.778 MB / 0.5073 GB, free: 17.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.3341, allocations: 479.4 kB / 0.5077 GB, free: 16.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.3344, allocations: 384 kB / 0.5081 GB, free: 16.36 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.001088/0.3355, allocations: 0.6679 MB / 0.5088 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.3359, allocations: 385.7 kB / 0.5091 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.3384, allocations: 1.747 MB / 0.5108 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001943/0.3403, allocations: 1.312 MB / 0.5121 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3403, allocations: 4 kB / 0.5121 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3403, allocations: 7.969 kB / 0.5121 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.3485, allocations: 6.993 MB / 0.519 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.3485, allocations: 4 kB / 0.519 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.3492, allocations: 276.1 kB / 0.5192 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.3505, allocations: 0.6259 MB / 0.5198 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3506, allocations: 57.48 kB / 0.5199 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.3528, allocations: 4.208 MB / 0.524 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006922/0.3535, allocations: 1.908 MB / 0.5259 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.3573, allocations: 3.003 MB / 0.5288 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.3577, allocations: 333.7 kB / 0.5291 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.3579, allocations: 35.98 kB / 0.5292 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.3588, allocations: 183.7 kB / 0.5293 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.359, allocations: 120.7 kB / 0.5294 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/0.3591, allocations: 51.97 kB / 0.5295 GB, free: 9.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001594/0.3607, allocations: 1.524 MB / 0.531 GB, free: 8.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3607, allocations: 0 / 0.531 GB, free: 8.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003424/0.3641, allocations: 1.156 MB / 0.5321 GB, free: 7.125 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.0003717/0.3645, allocations: 198.7 kB / 0.5323 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.3694, allocations: 3.74 MB / 0.536 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3694, allocations: 0 / 0.536 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.3711, allocations: 1.398 MB / 0.5373 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.3725, allocations: 442.1 kB / 0.5377 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/0.382, allocations: 7.944 MB / 0.5455 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.383, allocations: 1.228 MB / 0.5467 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002291/0.3853, allocations: 1.626 MB / 0.5483 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.3857, allocations: 240.4 kB / 0.5485 GB, free: 6.059 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3857, allocations: 3.938 kB / 0.5485 GB, free: 6.055 MB / 410.7 MB Notification: Performance of Templates: time 0.05476/0.4405, allocations: 34.89 MB / 0.5826 GB, free: 3.242 MB / 442.7 MB " [Timeout remaining time 660] 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.51748383580707]