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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009353/0.3232, allocations: 6.953 MB / 415.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007305/0.3305, allocations: 3.111 MB / 418.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.3315, allocations: 31.94 kB / 418.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3338, allocations: 0.6575 MB / 419.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.3375, allocations: 1.37 MB / 420.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3389, allocations: 499.1 kB / 421.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004327/0.3432, allocations: 3.207 MB / 424.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.344, allocations: 451.1 kB / 425 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3451, allocations: 0.7861 MB / 425.8 MB, free: 436 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.3472, allocations: 1.211 MB / 427 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.3475, allocations: 128 kB / 427.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.349, allocations: 0.9399 MB / 428.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.3504, allocations: 1.063 MB / 429.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.3516, allocations: 1.219 MB / 430.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.3558, allocations: 4.011 MB / 434.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3559, allocations: 0 / 434.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3559, allocations: 0 / 434.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.306e-05/0.3559, allocations: 0 / 434.4 MB, free: 7.828 MB / 350.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.007084/0.363, allocations: 3.209 MB / 437.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3631, allocations: 12.03 kB / 437.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000855/0.364, allocations: 437.4 kB / 438 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008806/0.3728, allocations: 2.021 MB / 440 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.3766, allocations: 2.046 MB / 442.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.3767, allocations: 114.6 kB / 442.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000991/0.3777, allocations: 303.5 kB / 442.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.3916, allocations: 8.215 MB / 450.7 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.3917, allocations: 51.52 kB / 450.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.392, allocations: 79.88 kB / 450.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.3943, allocations: 1.393 MB / 452.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.4121, allocations: 9.542 MB / 461.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.4482, allocations: 30.44 MB / 492.2 MB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.4604, allocations: 4.383 MB / 496.6 MB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.4634, allocations: 2.123 MB / 498.7 MB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.966e-05/0.4635, allocations: 11.98 kB / 498.7 MB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4636, allocations: 50.5 kB / 498.8 MB, free: 5.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.707e-06/0.4636, allocations: 0 / 498.8 MB, free: 5.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.0481/0.5117, allocations: 18.31 MB / 0.505 GB, free: 3.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002347/0.5141, allocations: 3.235 MB / 0.5081 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/0.5179, allocations: 2.991 MB / 0.511 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004928/0.5185, allocations: 45.64 kB / 0.5111 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.5203, allocations: 2.079 MB / 0.5131 GB, free: 10.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.5212, allocations: 0.5671 MB / 0.5137 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/0.5232, allocations: 1.007 MB / 0.5147 GB, free: 8.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5233, allocations: 305.1 kB / 0.5149 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004012/0.5274, allocations: 2.574 MB / 0.5175 GB, free: 5.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00621/0.5336, allocations: 5.528 MB / 0.5229 GB, free: 14.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.5439, allocations: 8.513 MB / 0.5312 GB, free: 4.879 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.438e-05/0.544, allocations: 28 kB / 0.5312 GB, free: 4.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.2277/0.7717, allocations: 9.864 MB / 0.5408 GB, free: 120.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.772, allocations: 51.19 kB / 0.5409 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01056/0.7826, allocations: 5.107 MB / 0.5459 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007888/0.7905, allocations: 2.352 MB / 0.5482 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/0.7944, allocations: 1.23 MB / 0.5494 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.8014, allocations: 8.682 MB / 0.5578 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/0.8061, allocations: 0.5625 MB / 0.5584 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.8072, allocations: 312 kB / 0.5587 GB, free: 111.3 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.001666/0.8089, allocations: 1.428 MB / 0.5601 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/0.8093, allocations: 251.9 kB / 0.5603 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/0.8101, allocations: 415.2 kB / 0.5607 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009722/0.8199, allocations: 5.016 MB / 0.5656 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.8199, allocations: 4 kB / 0.5656 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.82, allocations: 7.984 kB / 0.5656 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006794/0.8268, allocations: 5.356 MB / 0.5709 GB, free: 99.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.8268, allocations: 0 / 0.5709 GB, free: 99.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.8283, allocations: 367.4 kB / 0.5712 GB, free: 98.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007571/0.8359, allocations: 2.377 MB / 0.5735 GB, free: 96.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.8362, allocations: 55.7 kB / 0.5736 GB, free: 96.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/0.8437, allocations: 9.445 MB / 0.5828 GB, free: 86.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001215/0.845, allocations: 3.065 MB / 0.5858 GB, free: 82.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/0.8587, allocations: 8.771 MB / 0.5944 GB, free: 74.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.8593, allocations: 329.3 kB / 0.5947 GB, free: 73.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.8597, allocations: 35.98 kB / 0.5947 GB, free: 73.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/0.8617, allocations: 315.4 kB / 0.595 GB, free: 73.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005565/0.8623, allocations: 115.6 kB / 0.5951 GB, free: 73.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8625, allocations: 63.08 kB / 0.5952 GB, free: 73.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.8645, allocations: 1.867 MB / 0.597 GB, free: 71.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8645, allocations: 0 / 0.597 GB, free: 71.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003724/0.8682, allocations: 0.9426 MB / 0.5979 GB, free: 70.6 MB / 462.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.01362/0.8818, allocations: 9.414 MB / 0.6071 GB, free: 61.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01056/0.8924, allocations: 7.264 MB / 0.6142 GB, free: 53.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8925, allocations: 0 / 0.6142 GB, free: 53.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005316/0.8978, allocations: 3.648 MB / 0.6178 GB, free: 49.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.9003, allocations: 313.6 kB / 0.6181 GB, free: 49.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06368/0.964, allocations: 45.07 MB / 0.6621 GB, free: 280 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/0.967, allocations: 2.293 MB / 0.6643 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004182/0.9712, allocations: 1.663 MB / 0.666 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/0.9735, allocations: 1.167 MB / 0.6671 GB, free: 11.12 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9735, allocations: 0 / 0.6671 GB, free: 11.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3034/1.277, allocations: 63.87 MB / 0.7295 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/19.99, allocations: 12.62 kB / 0.7295 GB, free: 11.54 MB / 0.5294 GB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches