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.001019/0.001018, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.001043/0.001043, allocations: 180.2 kB / 18.21 MB, free: 5.531 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.226/1.226, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004531/0.0004532, allocations: 8 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07823, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01253/0.09079, allocations: 13.4 MB / 342.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007591/0.09842, allocations: 4.243 MB / 346.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.1001, allocations: 51.88 kB / 346.8 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.1009, allocations: 270.8 kB / 347 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.1039, allocations: 1.305 MB / 348.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.1049, allocations: 471.3 kB / 348.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004347/0.1093, allocations: 4.147 MB / 352.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.1101, allocations: 0.5543 MB / 353.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1111, allocations: 0.6846 MB / 354.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.1129, allocations: 1.32 MB / 355.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.1133, allocations: 80 kB / 355.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.1151, allocations: 0.9592 MB / 356.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.1161, allocations: 1.075 MB / 357.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.1176, allocations: 1.232 MB / 358.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.1214, allocations: 3.819 MB / 362.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1214, allocations: 0 / 362.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1214, allocations: 0 / 362.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.1215, allocations: 0 / 362.7 MB, free: 1.902 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.005918/0.1274, allocations: 2.733 MB / 365.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1275, allocations: 8.031 kB / 365.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008419/0.1283, allocations: 445.4 kB / 365.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00821/0.1366, allocations: 1.955 MB / 367.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/0.1407, allocations: 2.538 MB / 370.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.1408, allocations: 110.6 kB / 370.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.142, allocations: 307.5 kB / 370.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.1562, allocations: 8.238 MB / 379 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.809e-05/0.1563, allocations: 31.75 kB / 379 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.1567, allocations: 83.89 kB / 379.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1384/0.2951, allocations: 1.387 MB / 380.5 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.3127, allocations: 9.541 MB / 390 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.338, allocations: 30.54 MB / 420.5 MB, free: 20.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.3482, allocations: 4.423 MB / 425 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.3502, allocations: 2.109 MB / 427.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.3503, allocations: 22.33 kB / 427.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3503, allocations: 50.5 kB / 427.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.426e-06/0.3503, allocations: 0 / 427.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04117/0.3915, allocations: 18.52 MB / 445.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002126/0.3937, allocations: 3.056 MB / 448.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.3974, allocations: 3.02 MB / 451.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.3977, allocations: 50.41 kB / 451.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.399, allocations: 2.097 MB / 453.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000598/0.3996, allocations: 0.5694 MB / 454.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005247/0.4002, allocations: 416.6 kB / 454.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.4002, allocations: 301.1 kB / 455.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/0.4038, allocations: 2.575 MB / 457.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005315/0.4091, allocations: 5.528 MB / 463.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009664/0.4188, allocations: 8.519 MB / 471.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.681e-05/0.4189, allocations: 32 kB / 471.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0203/0.4392, allocations: 9.854 MB / 481.7 MB, free: 3.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-05/0.4393, allocations: 52.44 kB / 481.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01304/0.4524, allocations: 5.114 MB / 486.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009422/0.4618, allocations: 2.351 MB / 489.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004207/0.466, allocations: 1.24 MB / 490.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/0.4743, allocations: 8.141 MB / 498.6 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/0.479, allocations: 0.5576 MB / 499.1 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008719/0.4799, allocations: 318.8 kB / 499.4 MB, free: 1.629 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.002816/0.4827, allocations: 1.418 MB / 0.4891 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/0.4834, allocations: 256.2 kB / 0.4894 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4846, allocations: 419.3 kB / 0.4898 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01202/0.4966, allocations: 5.021 MB / 0.4947 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.4967, allocations: 8 kB / 0.4947 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.4967, allocations: 7.969 kB / 0.4947 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/0.5059, allocations: 5.353 MB / 0.4999 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.5059, allocations: 4 kB / 0.4999 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.5077, allocations: 367.4 kB / 0.5003 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008875/0.5166, allocations: 2.394 MB / 0.5026 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/0.517, allocations: 49.44 kB / 0.5026 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009152/0.5261, allocations: 8.844 MB / 0.5113 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001861/0.528, allocations: 2.9 MB / 0.5141 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/0.5457, allocations: 8.76 MB / 0.5227 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/0.5466, allocations: 333.6 kB / 0.523 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007481/0.5473, allocations: 37.39 kB / 0.523 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/0.5498, allocations: 323.3 kB / 0.5233 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/0.5503, allocations: 103.8 kB / 0.5234 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/0.5506, allocations: 57.36 kB / 0.5235 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003373/0.554, allocations: 1.891 MB / 0.5253 GB, free: 10.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.554, allocations: 0 / 0.5253 GB, free: 10.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004486/0.5585, allocations: 0.9591 MB / 0.5263 GB, free: 9.152 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.1709/0.7294, allocations: 9.42 MB / 0.5355 GB, free: 145.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01291/0.7423, allocations: 7.203 MB / 0.5425 GB, free: 144.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7423, allocations: 0 / 0.5425 GB, free: 144.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006351/0.7487, allocations: 3.625 MB / 0.546 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.7516, allocations: 290.6 kB / 0.5463 GB, free: 142.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07314/0.8248, allocations: 49.61 MB / 0.5948 GB, free: 100.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/0.8268, allocations: 2.305 MB / 0.597 GB, free: 98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003696/0.8305, allocations: 1.667 MB / 0.5986 GB, free: 96.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/0.8324, allocations: 1.175 MB / 0.5998 GB, free: 95.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.492e-06/0.8324, allocations: 0 / 0.5998 GB, free: 95.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0796/0.912, allocations: 63.74 MB / 0.662 GB, free: 31.32 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.9122, allocations: 251.3 kB / 0.6623 GB, free: 31.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/4.132, allocations: 0 / 0.6623 GB, free: 31.06 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches