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.002235/0.002235, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002799/0.002799, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001994/0.001994, allocations: 67.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2422, allocations: 53.4 MB / 431.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009009/0.2512, allocations: 7.003 MB / 438.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006325/0.2575, allocations: 3.158 MB / 441.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.2583, allocations: 39.81 kB / 441.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.2601, allocations: 0.6808 MB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.2634, allocations: 1.394 MB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009983/0.2644, allocations: 499.1 kB / 444 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004973/0.2693, allocations: 3.207 MB / 447.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2706, allocations: 0.4891 MB / 447.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.272, allocations: 0.7978 MB / 448.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.2743, allocations: 1.339 MB / 449.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004211/0.2747, allocations: 128 kB / 449.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.2767, allocations: 0.9789 MB / 450.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.2783, allocations: 1.09 MB / 452 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.2803, allocations: 1.219 MB / 453.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006848/0.2871, allocations: 4.026 MB / 457.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2871, allocations: 0 / 457.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2871, allocations: 0 / 457.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001767/0.2873, allocations: 0 / 457.2 MB, free: 12.66 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.008818/0.2961, allocations: 3.207 MB / 460.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2962, allocations: 8.031 kB / 460.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008805/0.2971, allocations: 441.4 kB / 460.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/0.3056, allocations: 2.046 MB / 462.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.3103, allocations: 1.998 MB / 464.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.3104, allocations: 114.6 kB / 465 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.3114, allocations: 299.5 kB / 465.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/0.3279, allocations: 8.227 MB / 473.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.253e-05/0.3279, allocations: 31.7 kB / 473.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.3283, allocations: 75.89 kB / 473.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002556/0.3309, allocations: 1.397 MB / 475 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.3502, allocations: 9.596 MB / 484.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04113/0.3913, allocations: 30.43 MB / 0.503 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.4032, allocations: 3.888 MB / 0.5068 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.4064, allocations: 2.078 MB / 0.5088 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.4065, allocations: 15.98 kB / 0.5088 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4066, allocations: 50.5 kB / 0.5089 GB, free: 11.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.777e-06/0.4066, allocations: 0 / 0.5089 GB, free: 11.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04757/0.4542, allocations: 17.86 MB / 0.5263 GB, free: 9.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002787/0.4569, allocations: 3.021 MB / 0.5293 GB, free: 5.875 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/0.4618, allocations: 3.003 MB / 0.5322 GB, free: 2.852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003973/0.4622, allocations: 41.7 kB / 0.5323 GB, free: 2.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.464, allocations: 2.167 MB / 0.5344 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009149/0.4649, allocations: 0.5893 MB / 0.535 GB, free: 24 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.19/0.655, allocations: 1.01 MB / 0.5359 GB, free: 101.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.655, allocations: 306.4 kB / 0.5362 GB, free: 101.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.659, allocations: 2.579 MB / 0.5387 GB, free: 100.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.664, allocations: 5.518 MB / 0.5441 GB, free: 96.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/0.6713, allocations: 8.518 MB / 0.5525 GB, free: 89.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.224e-05/0.6714, allocations: 31.22 kB / 0.5525 GB, free: 89.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01569/0.6871, allocations: 9.863 MB / 0.5621 GB, free: 83.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.6872, allocations: 52 kB / 0.5622 GB, free: 83.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009099/0.6963, allocations: 5.094 MB / 0.5671 GB, free: 78.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007158/0.7034, allocations: 2.351 MB / 0.5694 GB, free: 76.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/0.7065, allocations: 1.236 MB / 0.5706 GB, free: 75.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005876/0.7124, allocations: 8.281 MB / 0.5787 GB, free: 66.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/0.7164, allocations: 0.5611 MB / 0.5793 GB, free: 66.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/0.7169, allocations: 315.9 kB / 0.5796 GB, free: 65.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.001711/0.7186, allocations: 1.408 MB / 0.581 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.719, allocations: 265.2 kB / 0.5812 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.7197, allocations: 419.1 kB / 0.5816 GB, free: 63.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009305/0.729, allocations: 5.001 MB / 0.5865 GB, free: 58.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.729, allocations: 9.688 kB / 0.5865 GB, free: 58.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.7291, allocations: 3.984 kB / 0.5865 GB, free: 58.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/0.7357, allocations: 5.283 MB / 0.5917 GB, free: 53.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.7357, allocations: 0 / 0.5917 GB, free: 53.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.7372, allocations: 363.4 kB / 0.592 GB, free: 53.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007002/0.7442, allocations: 2.392 MB / 0.5943 GB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/0.7445, allocations: 51.94 kB / 0.5944 GB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.7512, allocations: 9.043 MB / 0.6032 GB, free: 41.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001205/0.7524, allocations: 2.864 MB / 0.606 GB, free: 38.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.7657, allocations: 8.768 MB / 0.6146 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/0.7663, allocations: 267.4 kB / 0.6148 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/0.7668, allocations: 35.5 kB / 0.6149 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/0.7688, allocations: 319.4 kB / 0.6152 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/0.7692, allocations: 107.7 kB / 0.6153 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.7693, allocations: 51.95 kB / 0.6153 GB, free: 28.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.7714, allocations: 1.867 MB / 0.6172 GB, free: 26.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7714, allocations: 4 kB / 0.6172 GB, free: 26.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003598/0.775, allocations: 0.9458 MB / 0.6181 GB, free: 25.78 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.0132/0.7882, allocations: 9.422 MB / 0.6273 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009889/0.7981, allocations: 6.761 MB / 0.6339 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7981, allocations: 0 / 0.6339 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.8032, allocations: 3.261 MB / 0.6371 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.8057, allocations: 313.4 kB / 0.6374 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08973/0.8954, allocations: 45.24 MB / 0.6815 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/0.8987, allocations: 2.29 MB / 0.6838 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004318/0.903, allocations: 1.663 MB / 0.6854 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/0.9052, allocations: 1.173 MB / 0.6866 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of SimCode: time 9.91e-07/0.9052, allocations: 0 / 0.6866 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.627/1.532, allocations: 67.23 MB / 0.7522 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.86/22.39, allocations: 3.938 kB / 0.7522 GB, free: 181.2 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: 25.695372114889324]