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.000991/0.000991, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.001086/0.001086, allocations: 163.8 kB / 24.99 MB, free: 9.285 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 1.015/1.015, allocations: 177 MB / 205.2 MB, free: 5.617 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.2585/0.2585, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.873e-06/1.873e-06, allocations: 0 / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.8e-05, allocations: 2.312 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008688/0.008706, allocations: 10.57 MB / 389.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.01507, allocations: 4.003 MB / 393.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.01616, allocations: 83.56 kB / 393.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.01917, allocations: 2.741 MB / 396.1 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.0222, allocations: 1.886 MB / 398 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.02343, allocations: 0.795 MB / 398.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004342/0.02777, allocations: 4.915 MB / 403.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.03061, allocations: 3.315 MB / 407 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.03275, allocations: 2.35 MB / 409.4 MB, free: 3.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.03473, allocations: 2.284 MB / 411.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.03511, allocations: 324 kB / 412 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.03662, allocations: 1.19 MB / 413.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.03783, allocations: 2.038 MB / 415.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.03889, allocations: 1.262 MB / 416.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003696/0.04258, allocations: 4.46 MB / 420.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.04259, allocations: 0 / 420.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.04259, allocations: 0 / 420.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.38e-05/0.04267, allocations: 4 kB / 420.9 MB, free: 8.016 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.005297/0.04796, allocations: 5.078 MB / 426 MB, free: 2.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.04801, allocations: 12.03 kB / 426 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/0.05248, allocations: 2.432 MB / 428.5 MB, free: 440 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.05492, allocations: 2.082 MB / 430.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.05506, allocations: 238.4 kB / 430.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000565/0.05562, allocations: 404.2 kB / 431.2 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007054/0.06267, allocations: 6.106 MB / 437.3 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/0.06275, allocations: 39.64 kB / 437.3 MB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.06303, allocations: 147.9 kB / 437.5 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001577/0.0646, allocations: 1.755 MB / 439.2 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006428/0.07103, allocations: 3.36 MB / 442.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2117/0.2827, allocations: 42.28 MB / 484.9 MB, free: 61.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/0.2871, allocations: 2.189 MB / 487 MB, free: 60.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.2877, allocations: 0.5578 MB / 487.6 MB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004708/0.2924, allocations: 4.652 MB / 492.3 MB, free: 58.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2924, allocations: 51.02 kB / 492.3 MB, free: 58.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.006e-06/0.2924, allocations: 0 / 492.3 MB, free: 58.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01888/0.3113, allocations: 10.67 MB / 0.4912 GB, free: 54.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008286/0.3122, allocations: 2.034 MB / 0.4932 GB, free: 52.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.3164, allocations: 3.46 MB / 0.4966 GB, free: 51.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.3165, allocations: 46.92 kB / 0.4966 GB, free: 51.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.3179, allocations: 3.318 MB / 0.4998 GB, free: 48.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005623/0.3185, allocations: 0.6957 MB / 0.5005 GB, free: 48.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.3198, allocations: 1.298 MB / 0.5018 GB, free: 47.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.3198, allocations: 481.9 kB / 0.5022 GB, free: 46.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3211, allocations: 0.688 MB / 0.5029 GB, free: 46.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.3239, allocations: 6.173 MB / 0.5089 GB, free: 39.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.3286, allocations: 7.587 MB / 0.5164 GB, free: 30.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.109e-05/0.3287, allocations: 36.62 kB / 0.5164 GB, free: 30.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.00975/0.3384, allocations: 6.692 MB / 0.5229 GB, free: 27.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.3385, allocations: 67.94 kB / 0.523 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004775/0.3432, allocations: 2.292 MB / 0.5252 GB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/0.3478, allocations: 1.907 MB / 0.5271 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.3498, allocations: 1.377 MB / 0.5284 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.3532, allocations: 4.794 MB / 0.5331 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.3556, allocations: 459.3 kB / 0.5336 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.3559, allocations: 374.6 kB / 0.5339 GB, free: 18.48 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.001094/0.357, allocations: 0.6458 MB / 0.5345 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.3574, allocations: 373.8 kB / 0.5349 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3577, allocations: 354.1 kB / 0.5352 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001945/0.3596, allocations: 1.269 MB / 0.5365 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3596, allocations: 4 kB / 0.5365 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3596, allocations: 11.91 kB / 0.5365 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/0.3671, allocations: 6.68 MB / 0.543 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3671, allocations: 7.938 kB / 0.543 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.3676, allocations: 255.6 kB / 0.5433 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.369, allocations: 0.6266 MB / 0.5439 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/0.3691, allocations: 51.48 kB / 0.5439 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.371, allocations: 4.214 MB / 0.548 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004108/0.3714, allocations: 1.901 MB / 0.5499 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.3748, allocations: 2.901 MB / 0.5527 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.3752, allocations: 325.6 kB / 0.553 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.3754, allocations: 39.98 kB / 0.5531 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.3762, allocations: 179.7 kB / 0.5533 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.3764, allocations: 112.7 kB / 0.5534 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.3765, allocations: 47.98 kB / 0.5534 GB, free: 13.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001519/0.378, allocations: 1.483 MB / 0.5549 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.378, allocations: 0 / 0.5549 GB, free: 12.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003043/0.3811, allocations: 1.101 MB / 0.5559 GB, free: 11.27 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.0003559/0.3814, allocations: 182.3 kB / 0.5561 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004755/0.3862, allocations: 3.638 MB / 0.5597 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3862, allocations: 0 / 0.5597 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.3878, allocations: 1.359 MB / 0.561 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.3892, allocations: 432.7 kB / 0.5614 GB, free: 5.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008371/0.3976, allocations: 7.589 MB / 0.5688 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/0.3986, allocations: 1.173 MB / 0.57 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00221/0.4008, allocations: 1.583 MB / 0.5715 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.4012, allocations: 224.4 kB / 0.5717 GB, free: 10.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4012, allocations: 0 / 0.5717 GB, free: 10.86 MB / 442.7 MB Notification: Performance of Templates: time 0.1829/0.5841, allocations: 33.89 MB / 0.6048 GB, free: 130.9 MB / 458.7 MB " [Timeout remaining time 659] 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.587946610990912]