Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.00151/0.00151, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001729/0.001729, allocations: 202.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.91 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009046/0.3517, allocations: 6.175 MB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006708/0.3584, allocations: 2.944 MB / 440.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009299/0.3593, allocations: 35.88 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3611, allocations: 0.6613 MB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.3647, allocations: 1.397 MB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3658, allocations: 0.4952 MB / 442.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004715/0.3705, allocations: 3.206 MB / 446.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.3716, allocations: 492 kB / 446.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.3731, allocations: 0.8017 MB / 447.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.3755, allocations: 1.308 MB / 448.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.3762, allocations: 132 kB / 448.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.3785, allocations: 0.8462 MB / 449.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.3803, allocations: 1.09 MB / 450.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.3822, allocations: 0.8846 MB / 451.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.3875, allocations: 4.034 MB / 455.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3875, allocations: 0 / 455.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3875, allocations: 0 / 455.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001265/0.3877, allocations: 0 / 455.6 MB, free: 13.85 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.008809/0.3965, allocations: 3.207 MB / 458.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/0.3965, allocations: 15.98 kB / 458.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000694/0.3972, allocations: 441.3 kB / 459.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009046/0.4063, allocations: 2.046 MB / 461.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/0.4121, allocations: 2.002 MB / 463.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.4123, allocations: 114.6 kB / 463.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/0.4137, allocations: 299.5 kB / 463.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.4338, allocations: 8.223 MB / 472 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.434, allocations: 39.64 kB / 472 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008983/0.4349, allocations: 79.88 kB / 472.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002875/0.4378, allocations: 1.397 MB / 473.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.4592, allocations: 9.557 MB / 483 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04818/0.5074, allocations: 29.54 MB / 0.5006 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.5204, allocations: 3.885 MB / 0.5044 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/0.5238, allocations: 2.082 MB / 0.5064 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.5239, allocations: 16 kB / 0.5064 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.524, allocations: 50.55 kB / 0.5064 GB, free: 13.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 6.172e-06/0.524, allocations: 0 / 0.5064 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.05401/0.578, allocations: 17.9 MB / 0.5239 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002941/0.581, allocations: 3.017 MB / 0.5269 GB, free: 7.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/0.5867, allocations: 3.17 MB / 0.53 GB, free: 4.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006095/0.5873, allocations: 41.7 kB / 0.53 GB, free: 4.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002347/0.5897, allocations: 2.171 MB / 0.5321 GB, free: 2.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/0.5912, allocations: 0.5854 MB / 0.5327 GB, free: 1.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003847/0.5951, allocations: 1.016 MB / 0.5337 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5953, allocations: 309 kB / 0.534 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2799/0.8752, allocations: 2.573 MB / 0.5365 GB, free: 101.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007347/0.8825, allocations: 5.529 MB / 0.5419 GB, free: 96.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009216/0.8917, allocations: 8.512 MB / 0.5502 GB, free: 90.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.873e-05/0.8918, allocations: 31.19 kB / 0.5502 GB, free: 90.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01902/0.9108, allocations: 9.859 MB / 0.5599 GB, free: 84.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.9109, allocations: 49.41 kB / 0.5599 GB, free: 84.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01098/0.9219, allocations: 5.096 MB / 0.5649 GB, free: 79.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008542/0.9305, allocations: 2.347 MB / 0.5672 GB, free: 77.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/0.935, allocations: 1.24 MB / 0.5684 GB, free: 76.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007574/0.9426, allocations: 8.243 MB / 0.5765 GB, free: 67.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006127/0.9487, allocations: 0.562 MB / 0.577 GB, free: 67.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/0.9502, allocations: 315.2 kB / 0.5773 GB, free: 66.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 569 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004114/0.9543, allocations: 1.413 MB / 0.5787 GB, free: 65.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/0.9556, allocations: 268.2 kB / 0.5789 GB, free: 65.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.9568, allocations: 411.2 kB / 0.5793 GB, free: 64.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01107/0.9679, allocations: 5.01 MB / 0.5842 GB, free: 59.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/0.9679, allocations: 4.75 kB / 0.5842 GB, free: 59.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.968, allocations: 7.984 kB / 0.5842 GB, free: 59.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008497/0.9765, allocations: 4.809 MB / 0.5889 GB, free: 55.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.9765, allocations: 4 kB / 0.5889 GB, free: 55.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.9782, allocations: 375.3 kB / 0.5893 GB, free: 54.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008224/0.9864, allocations: 2.39 MB / 0.5916 GB, free: 52.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005424/0.987, allocations: 47.55 kB / 0.5917 GB, free: 52.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008192/0.9952, allocations: 8.993 MB / 0.6005 GB, free: 42.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001541/0.9967, allocations: 2.858 MB / 0.6032 GB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.014, allocations: 8.775 MB / 0.6118 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.016, allocations: 265.8 kB / 0.6121 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.017, allocations: 35.92 kB / 0.6121 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.02, allocations: 315.4 kB / 0.6124 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/1.021, allocations: 115.8 kB / 0.6125 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/1.021, allocations: 51.33 kB / 0.6126 GB, free: 30.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003795/1.025, allocations: 1.871 MB / 0.6144 GB, free: 28.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 0.6144 GB, free: 28.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005642/1.03, allocations: 0.9416 MB / 0.6153 GB, free: 27.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (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.01605/1.046, allocations: 9.427 MB / 0.6245 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0114/1.058, allocations: 6.759 MB / 0.6311 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.058, allocations: 0 / 0.6311 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006281/1.064, allocations: 3.264 MB / 0.6343 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.068, allocations: 303.6 kB / 0.6346 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1021/1.17, allocations: 45.22 MB / 0.6787 GB, free: 5.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003923/1.174, allocations: 1.722 MB / 0.6804 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005209/1.179, allocations: 1.663 MB / 0.6821 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/1.182, allocations: 1.163 MB / 0.6832 GB, free: 1.402 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/1.182, allocations: 4.766 kB / 0.6832 GB, free: 1.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.853/4.035, allocations: 63.8 MB / 0.7455 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/23.29, allocations: 14.22 kB / 0.7455 GB, free: 179.6 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.70340366382152]