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.0008469/0.0008469, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008197/0.0008197, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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 0.8597/0.8597, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.172e-06/1.172e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.107e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.004777/0.004788, allocations: 6.2 MB / 330.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.008676, allocations: 2.94 MB / 333.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.009137, allocations: 47.75 kB / 333.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000918/0.01005, allocations: 0.6807 MB / 334.4 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.01176, allocations: 1.439 MB / 335.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.01231, allocations: 0.5457 MB / 336.4 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.01453, allocations: 3.875 MB / 340.2 MB, free: 116 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005559/0.01509, allocations: 0.6701 MB / 340.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000928/0.01602, allocations: 1.294 MB / 342.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.01716, allocations: 1.598 MB / 343.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.01731, allocations: 140 kB / 343.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.01814, allocations: 0.889 MB / 344.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.01879, allocations: 1.161 MB / 346 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.01929, allocations: 0.6734 MB / 346.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.02192, allocations: 4.076 MB / 350.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.02192, allocations: 0 / 350.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.02192, allocations: 0 / 350.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.02195, allocations: 0 / 350.7 MB, free: 5.574 MB / 314.7 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.003919/0.02587, allocations: 3.32 MB / 354.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.02591, allocations: 11.98 kB / 354.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/0.02623, allocations: 433.4 kB / 354.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.03072, allocations: 2.195 MB / 356.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.03235, allocations: 1.669 MB / 358.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.03241, allocations: 114.8 kB / 358.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005299/0.03294, allocations: 303.5 kB / 358.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00797/0.04091, allocations: 8.258 MB / 367 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.04095, allocations: 39.69 kB / 367.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.04113, allocations: 83.86 kB / 367.1 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.04228, allocations: 1.393 MB / 368.5 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.05249, allocations: 9.651 MB / 378.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02101/0.0735, allocations: 29.85 MB / 408 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006421/0.07992, allocations: 3.975 MB / 412 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.08162, allocations: 2.086 MB / 414.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.08167, allocations: 8 kB / 414.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.0817, allocations: 50.55 kB / 414.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.637e-06/0.0817, allocations: 0 / 414.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.0257/0.1074, allocations: 18.32 MB / 432.5 MB, free: 2.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001401/0.1088, allocations: 3.016 MB / 435.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.1119, allocations: 3.486 MB / 439 MB, free: 11.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.112, allocations: 45.7 kB / 439 MB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008696/0.1128, allocations: 2.144 MB / 441.2 MB, free: 9.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.1132, allocations: 0.5854 MB / 441.8 MB, free: 8.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009442/0.1142, allocations: 1 MB / 442.8 MB, free: 7.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.1142, allocations: 301.1 kB / 443 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/0.1168, allocations: 2.726 MB / 445.8 MB, free: 4.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1433/0.26, allocations: 5.673 MB / 451.4 MB, free: 109.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006128/0.2662, allocations: 8.77 MB / 460.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-05/0.2662, allocations: 29.56 kB / 460.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01496/0.2812, allocations: 12.11 MB / 472.4 MB, free: 99.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.2812, allocations: 48 kB / 472.4 MB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01053/0.2917, allocations: 7.285 MB / 479.7 MB, free: 91.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009958/0.3017, allocations: 4.717 MB / 484.4 MB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.3037, allocations: 1.255 MB / 485.7 MB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008305/0.312, allocations: 12.09 MB / 497.7 MB, free: 73.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.3148, allocations: 0.7154 MB / 498.5 MB, free: 72.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.3151, allocations: 315.9 kB / 498.8 MB, free: 72.35 MB / 410.7 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.00123/0.3163, allocations: 1.409 MB / 0.4885 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.3166, allocations: 279.9 kB / 0.4887 GB, free: 70.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3169, allocations: 415.9 kB / 0.4891 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005624/0.3225, allocations: 4.997 MB / 0.494 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3225, allocations: 4 kB / 0.494 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3225, allocations: 7.969 kB / 0.494 GB, free: 65.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.3265, allocations: 4.932 MB / 0.4988 GB, free: 60.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3265, allocations: 0 / 0.4988 GB, free: 60.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.3273, allocations: 371.4 kB / 0.4992 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/0.3312, allocations: 2.386 MB / 0.5015 GB, free: 57.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3313, allocations: 43.95 kB / 0.5016 GB, free: 57.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004315/0.3356, allocations: 9.003 MB / 0.5103 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006725/0.3362, allocations: 2.856 MB / 0.5131 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/0.3443, allocations: 8.768 MB / 0.5217 GB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.3446, allocations: 311.1 kB / 0.522 GB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.3449, allocations: 35.98 kB / 0.522 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.346, allocations: 399.3 kB / 0.5224 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.3463, allocations: 107.5 kB / 0.5225 GB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3464, allocations: 63.55 kB / 0.5226 GB, free: 35.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001581/0.348, allocations: 2.117 MB / 0.5246 GB, free: 33.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.348, allocations: 1.422 kB / 0.5246 GB, free: 33.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002451/0.3504, allocations: 1.142 MB / 0.5258 GB, free: 32.33 MB / 410.7 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.008295/0.3587, allocations: 9.419 MB / 0.535 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0062/0.3649, allocations: 6.988 MB / 0.5418 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3649, allocations: 0 / 0.5418 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.3678, allocations: 3.263 MB / 0.545 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.3691, allocations: 318 kB / 0.5453 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05181/0.4209, allocations: 48.46 MB / 0.5926 GB, free: 7.395 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.4223, allocations: 1.717 MB / 0.5943 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002225/0.4245, allocations: 1.683 MB / 0.5959 GB, free: 3.965 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.4257, allocations: 1.176 MB / 0.5971 GB, free: 2.789 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4257, allocations: 4 kB / 0.5971 GB, free: 2.785 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/0.622, allocations: 72.38 MB / 0.6677 GB, free: 127.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.11, allocations: 3.625 kB / 0.6677 GB, free: 127.3 MB / 474.7 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/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: 12.959472363814712]