Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 47.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09664, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008616/0.1053, allocations: 7.021 MB / 424.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006165/0.1114, allocations: 3.109 MB / 427.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.1122, allocations: 31.94 kB / 427.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.1137, allocations: 0.6846 MB / 428.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.1165, allocations: 1.417 MB / 430 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009144/0.1174, allocations: 0.499 MB / 430.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.1212, allocations: 3.109 MB / 433.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000668/0.1219, allocations: 375.2 kB / 434 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.123, allocations: 0.8017 MB / 434.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1246, allocations: 1.335 MB / 436.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.1248, allocations: 132 kB / 436.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.1264, allocations: 0.9944 MB / 437.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1275, allocations: 1.11 MB / 438.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.1287, allocations: 1.234 MB / 439.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.1332, allocations: 4.072 MB / 443.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1333, allocations: 0 / 443.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1333, allocations: 0 / 443.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.1333, allocations: 4 kB / 443.7 MB, free: 2.605 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.1819/0.3152, allocations: 3.307 MB / 447 MB, free: 28.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3153, allocations: 11.17 kB / 447 MB, free: 28.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005319/0.3158, allocations: 435.8 kB / 447.4 MB, free: 28.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.3231, allocations: 1.926 MB / 449.4 MB, free: 28.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.3272, allocations: 2.261 MB / 451.6 MB, free: 28.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.3273, allocations: 119.2 kB / 451.7 MB, free: 28.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008088/0.3281, allocations: 305 kB / 452 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.3414, allocations: 8.223 MB / 460.3 MB, free: 25.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/0.3414, allocations: 35.83 kB / 460.3 MB, free: 25.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.3417, allocations: 78.5 kB / 460.4 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.3437, allocations: 1.402 MB / 461.8 MB, free: 24.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.3592, allocations: 9.538 MB / 471.3 MB, free: 20.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03029/0.3895, allocations: 30.5 MB / 0.4901 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.4008, allocations: 4.334 MB / 0.4943 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002878/0.4037, allocations: 2.074 MB / 0.4963 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.4037, allocations: 15.94 kB / 0.4963 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.4038, allocations: 55.55 kB / 0.4964 GB, free: 216 kB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.4038, allocations: 0 / 0.4964 GB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04461/0.4484, allocations: 18.47 MB / 0.5144 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002764/0.4512, allocations: 3.235 MB / 0.5176 GB, free: 9.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.4553, allocations: 3 MB / 0.5205 GB, free: 6.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005324/0.4559, allocations: 41.7 kB / 0.5206 GB, free: 6.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.4575, allocations: 2.187 MB / 0.5227 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009018/0.4584, allocations: 0.5893 MB / 0.5233 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/0.4599, allocations: 1.008 MB / 0.5242 GB, free: 3.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.46, allocations: 301.1 kB / 0.5245 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.4639, allocations: 2.574 MB / 0.527 GB, free: 164 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006342/0.4702, allocations: 5.517 MB / 0.5324 GB, free: 9.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.4812, allocations: 8.53 MB / 0.5408 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-05/0.4813, allocations: 28 kB / 0.5408 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02183/0.5031, allocations: 9.859 MB / 0.5504 GB, free: 5.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.5032, allocations: 52.22 kB / 0.5505 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01234/0.5155, allocations: 5.096 MB / 0.5554 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00846/0.524, allocations: 2.352 MB / 0.5577 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.5283, allocations: 1.232 MB / 0.5589 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.5381, allocations: 8.685 MB / 0.5674 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/0.5428, allocations: 0.5656 MB / 0.568 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.5439, allocations: 311.9 kB / 0.5683 GB, free: 2.363 MB / 462.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.003027/0.5469, allocations: 1.411 MB / 0.5697 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007636/0.5477, allocations: 278.1 kB / 0.5699 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.5487, allocations: 423.2 kB / 0.5703 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01186/0.5606, allocations: 4.987 MB / 0.5752 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/0.5606, allocations: 8 kB / 0.5752 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-05/0.5607, allocations: 7.969 kB / 0.5752 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.5724, allocations: 5.366 MB / 0.5805 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.5724, allocations: 0 / 0.5805 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/0.5744, allocations: 375.4 kB / 0.5808 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008261/0.5826, allocations: 2.381 MB / 0.5831 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003632/0.583, allocations: 47.94 kB / 0.5832 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/0.5938, allocations: 9.442 MB / 0.5924 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002586/0.5964, allocations: 3.072 MB / 0.5954 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/0.6144, allocations: 8.767 MB / 0.604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.6153, allocations: 339.2 kB / 0.6043 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007831/0.6161, allocations: 31.98 kB / 0.6043 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/0.6185, allocations: 319.5 kB / 0.6046 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00059/0.619, allocations: 107.8 kB / 0.6047 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003076/0.6194, allocations: 59.94 kB / 0.6048 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003422/0.6228, allocations: 1.871 MB / 0.6066 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6228, allocations: 0 / 0.6066 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004192/0.627, allocations: 0.9647 MB / 0.6076 GB, free: 9.051 MB / 0.4981 GB 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.01804/0.645, allocations: 9.421 MB / 0.6168 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01276/0.6578, allocations: 7.053 MB / 0.6236 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6578, allocations: 288 / 0.6236 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0069/0.6647, allocations: 3.569 MB / 0.6271 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.6675, allocations: 296 kB / 0.6274 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2365/0.904, allocations: 45.2 MB / 0.6715 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.9057, allocations: 2.299 MB / 0.6738 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002983/0.9086, allocations: 1.654 MB / 0.6754 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.9099, allocations: 1.17 MB / 0.6766 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.9099, allocations: 0 / 0.6766 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4649/1.375, allocations: 63.01 MB / 0.7381 GB, free: 86.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/20.53, allocations: 15.78 kB / 0.7381 GB, free: 86.7 MB / 0.5137 GB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 23.71861131489277]