Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_3_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.001219/0.00122, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001124/0.001124, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 56.14 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08874, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007326/0.0961, allocations: 7.008 MB / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.1015, allocations: 3.077 MB / 337.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1027, allocations: 31.94 kB / 337.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.1043, allocations: 0.6652 MB / 338.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.1076, allocations: 1.39 MB / 339.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1086, allocations: 0.499 MB / 340.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003925/0.1126, allocations: 3.136 MB / 343.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.1134, allocations: 451.2 kB / 343.6 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.1148, allocations: 0.7977 MB / 344.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.1168, allocations: 1.215 MB / 345.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.1173, allocations: 132 kB / 345.8 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.1192, allocations: 0.9477 MB / 346.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.1204, allocations: 1.091 MB / 347.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.122, allocations: 1.242 MB / 349.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.127, allocations: 3.894 MB / 353 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1271, allocations: 0 / 353 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1271, allocations: 4 kB / 353 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.256e-05/0.1272, allocations: 0 / 353 MB, free: 10.7 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.008117/0.1353, allocations: 3.247 MB / 356.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/0.1354, allocations: 12.03 kB / 356.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008264/0.1362, allocations: 441.4 kB / 356.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008524/0.1448, allocations: 1.908 MB / 358.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.15, allocations: 2.538 MB / 361.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.1502, allocations: 114.6 kB / 361.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.1515, allocations: 303.4 kB / 361.5 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.1662, allocations: 8.223 MB / 369.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-05/0.1663, allocations: 39.66 kB / 369.8 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.1666, allocations: 75.89 kB / 369.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/0.1689, allocations: 1.397 MB / 371.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2111/0.38, allocations: 9.533 MB / 380.8 MB, free: 48.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03737/0.4174, allocations: 30.57 MB / 411.3 MB, free: 26.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.4283, allocations: 4.376 MB / 415.7 MB, free: 24.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002556/0.4309, allocations: 2.116 MB / 417.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.431, allocations: 20.83 kB / 417.8 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4311, allocations: 45.19 kB / 417.9 MB, free: 22.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 4.349e-06/0.4311, allocations: 0 / 417.9 MB, free: 22.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04072/0.4718, allocations: 18.41 MB / 436.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001712/0.4735, allocations: 3.241 MB / 439.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.4779, allocations: 3.028 MB / 442.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000683/0.4786, allocations: 41.7 kB / 442.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.4802, allocations: 2.092 MB / 444.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009953/0.4812, allocations: 0.5589 MB / 445.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/0.4827, allocations: 1.004 MB / 446.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4828, allocations: 309.1 kB / 446.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/0.4868, allocations: 2.574 MB / 449.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/0.4928, allocations: 5.525 MB / 454.7 MB, free: 20 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.5037, allocations: 8.523 MB / 463.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.919e-05/0.5038, allocations: 32.19 kB / 463.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0226/0.5264, allocations: 9.867 MB / 473.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.5265, allocations: 51.98 kB / 473.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0122/0.5387, allocations: 5.109 MB / 478.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009269/0.548, allocations: 2.359 MB / 480.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/0.5523, allocations: 1.232 MB / 481.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008546/0.5609, allocations: 8.698 MB / 490.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00501/0.5659, allocations: 0.5691 MB / 491.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009129/0.5669, allocations: 321.3 kB / 491.4 MB, free: 9.16 MB / 382.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.002371/0.5692, allocations: 1.41 MB / 492.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/0.5699, allocations: 256.7 kB / 493.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.5707, allocations: 415.4 kB / 493.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01217/0.5829, allocations: 5.017 MB / 498.5 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/0.583, allocations: 4 kB / 498.5 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/0.583, allocations: 7.969 kB / 498.5 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/0.592, allocations: 5.363 MB / 0.4921 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.5921, allocations: 4 kB / 0.4921 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/0.5943, allocations: 363.4 kB / 0.4924 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008872/0.6032, allocations: 2.397 MB / 0.4948 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000548/0.6038, allocations: 51.88 kB / 0.4948 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.614, allocations: 9.436 MB / 0.504 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002395/0.6164, allocations: 3.082 MB / 0.507 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/0.6348, allocations: 8.771 MB / 0.5156 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.636, allocations: 325.7 kB / 0.5159 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009949/0.637, allocations: 35.97 kB / 0.5159 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/0.6396, allocations: 323.4 kB / 0.5163 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005217/0.6401, allocations: 103.8 kB / 0.5164 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.6403, allocations: 51.95 kB / 0.5164 GB, free: 2.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003342/0.6437, allocations: 1.895 MB / 0.5183 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6437, allocations: 0 / 0.5183 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005768/0.6494, allocations: 0.9557 MB / 0.5192 GB, free: 15.85 MB / 430.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.0183/0.6678, allocations: 9.423 MB / 0.5284 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1892/0.857, allocations: 7.537 MB / 0.5357 GB, free: 149.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.8571, allocations: 0.6562 kB / 0.5357 GB, free: 149.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007617/0.8647, allocations: 3.641 MB / 0.5393 GB, free: 148.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.8675, allocations: 311.5 kB / 0.5396 GB, free: 148.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07027/0.9378, allocations: 48.29 MB / 0.5868 GB, free: 110 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.9399, allocations: 2.295 MB / 0.589 GB, free: 107.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003923/0.9438, allocations: 1.663 MB / 0.5906 GB, free: 106 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/0.9455, allocations: 1.175 MB / 0.5918 GB, free: 104.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.9455, allocations: 0 / 0.5918 GB, free: 104.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.053, allocations: 65.98 MB / 0.6562 GB, free: 38.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.4, allocations: 11.94 kB / 0.6562 GB, free: 38.69 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches