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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 89.77 kB / 16.65 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000841/0.0008411, allocations: 181.4 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003137, allocations: 8 kB / 301.5 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 50.41 MB / 351.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.0126/0.1205, allocations: 13.38 MB / 365.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008276/0.1289, allocations: 4.245 MB / 369.6 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.131, allocations: 55.81 kB / 369.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009292/0.1319, allocations: 266.8 kB / 369.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.1354, allocations: 1.316 MB / 371.2 MB, free: 56 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1888/0.3243, allocations: 458 kB / 371.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005853/0.3302, allocations: 4.116 MB / 375.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009935/0.3312, allocations: 0.5437 MB / 376.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.3325, allocations: 0.6875 MB / 377 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.3345, allocations: 1.308 MB / 378.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.3348, allocations: 83.88 kB / 378.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.3367, allocations: 0.961 MB / 379.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.338, allocations: 1.073 MB / 380.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.3392, allocations: 1.227 MB / 381.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.3436, allocations: 3.799 MB / 385.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3436, allocations: 1.094 kB / 385.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3436, allocations: 0 / 385.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.28e-05/0.3437, allocations: 2.906 kB / 385.4 MB, free: 7.07 MB / 302.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.006269/0.35, allocations: 2.719 MB / 388.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3501, allocations: 8.75 kB / 388.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005753/0.3506, allocations: 437.4 kB / 388.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007946/0.3586, allocations: 1.959 MB / 390.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/0.363, allocations: 2.233 MB / 392.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/0.3631, allocations: 119.1 kB / 392.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009178/0.364, allocations: 300.6 kB / 393.2 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.3785, allocations: 8.25 MB / 401.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.953e-05/0.3786, allocations: 32.59 kB / 401.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.379, allocations: 80.2 kB / 401.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.3813, allocations: 1.391 MB / 403 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.4005, allocations: 9.535 MB / 412.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/0.4397, allocations: 30.52 MB / 443 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.4523, allocations: 4.426 MB / 447.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.4554, allocations: 2.123 MB / 449.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.4556, allocations: 14.66 kB / 449.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4556, allocations: 42.55 kB / 449.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.478e-06/0.4556, allocations: 7.938 kB / 449.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.05216/0.5078, allocations: 18.41 MB / 468 MB, free: 9.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002341/0.5102, allocations: 3.054 MB / 471.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00601/0.5162, allocations: 2.999 MB / 474.1 MB, free: 2.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007667/0.517, allocations: 44.59 kB / 474.1 MB, free: 2.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002015/0.519, allocations: 2.081 MB / 476.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001365/0.5204, allocations: 0.5582 MB / 476.8 MB, free: 228 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.5217, allocations: 418 kB / 477.2 MB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.5218, allocations: 301.1 kB / 477.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004856/0.5267, allocations: 2.578 MB / 480.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006613/0.5333, allocations: 5.525 MB / 485.6 MB, free: 5.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.5444, allocations: 8.523 MB / 494.1 MB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.5446, allocations: 32 kB / 494.1 MB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0239/0.5685, allocations: 9.86 MB / 0.4922 GB, free: 2.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.5687, allocations: 52 kB / 0.4922 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01344/0.5821, allocations: 5.11 MB / 0.4972 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009608/0.5918, allocations: 2.355 MB / 0.4995 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004664/0.5965, allocations: 1.228 MB / 0.5007 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008653/0.6052, allocations: 8.143 MB / 0.5087 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/0.6108, allocations: 0.5689 MB / 0.5092 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/0.6122, allocations: 323.9 kB / 0.5095 GB, free: 15.69 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.003924/0.6161, allocations: 1.406 MB / 0.5109 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009116/0.617, allocations: 260.7 kB / 0.5112 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.6184, allocations: 415.3 kB / 0.5116 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01238/0.6308, allocations: 5.014 MB / 0.5164 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.814e-05/0.6309, allocations: 4 kB / 0.5165 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/0.6309, allocations: 11.91 kB / 0.5165 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.6423, allocations: 5.363 MB / 0.5217 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.6424, allocations: 3.938 kB / 0.5217 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.6442, allocations: 367.4 kB / 0.5221 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009073/0.6533, allocations: 2.386 MB / 0.5244 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/0.6539, allocations: 47.94 kB / 0.5244 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1934/0.8473, allocations: 8.832 MB / 0.5331 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001494/0.8489, allocations: 2.902 MB / 0.5359 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01975/0.8686, allocations: 8.771 MB / 0.5445 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.8699, allocations: 329.5 kB / 0.5448 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/0.8709, allocations: 40.58 kB / 0.5448 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/0.8737, allocations: 317.8 kB / 0.5451 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006039/0.8743, allocations: 99 kB / 0.5452 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/0.8746, allocations: 52.61 kB / 0.5453 GB, free: 138.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004441/0.879, allocations: 1.879 MB / 0.5471 GB, free: 138.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.879, allocations: 0 / 0.5471 GB, free: 138.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005279/0.8843, allocations: 0.9556 MB / 0.548 GB, free: 138.1 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.01643/0.9007, allocations: 9.431 MB / 0.5572 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01121/0.912, allocations: 7.208 MB / 0.5643 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.912, allocations: 0 / 0.5643 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/0.9177, allocations: 3.615 MB / 0.5678 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/0.9213, allocations: 296.3 kB / 0.5681 GB, free: 125.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08681/1.008, allocations: 49.33 MB / 0.6163 GB, free: 70.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003034/1.011, allocations: 2.297 MB / 0.6185 GB, free: 68.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004297/1.016, allocations: 1.663 MB / 0.6201 GB, free: 66.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/1.018, allocations: 1.171 MB / 0.6213 GB, free: 65.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/1.018, allocations: 3.391 kB / 0.6213 GB, free: 65.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09931/1.117, allocations: 63.48 MB / 0.6833 GB, free: 2.516 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.117, allocations: 247.3 kB / 0.6835 GB, free: 2.262 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/4.821, allocations: 0 / 0.6835 GB, free: 2.262 MB / 446.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches