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.001245/0.001245, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.4 MB / 246.4 MB, free: 9.137 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 64.77 kB / 306.6 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07743/0.07852, allocations: 50.53 MB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01255/0.0911, allocations: 13.87 MB / 371 MB, free: 192 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1323/0.2234, allocations: 4.196 MB / 375.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.2252, allocations: 53.84 kB / 375.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.2266, allocations: 0.6202 MB / 375.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.2291, allocations: 1.279 MB / 377.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.2299, allocations: 480.2 kB / 377.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.2328, allocations: 3.215 MB / 380.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005037/0.2333, allocations: 472.5 kB / 381.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.234, allocations: 0.7997 MB / 382.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.2353, allocations: 1.355 MB / 383.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.2355, allocations: 134.4 kB / 383.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.2367, allocations: 0.9487 MB / 384.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.2375, allocations: 1.095 MB / 385.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.2382, allocations: 1.239 MB / 386.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.2407, allocations: 3.875 MB / 390.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2407, allocations: 0 / 390.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2407, allocations: 5.312 kB / 390.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.2408, allocations: 0 / 390.7 MB, free: 3.316 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.004703/0.2455, allocations: 3.206 MB / 393.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2455, allocations: 8.25 kB / 393.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003826/0.2459, allocations: 441.1 kB / 394.4 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007401/0.2533, allocations: 2.02 MB / 396.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.2562, allocations: 2.026 MB / 398.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.2563, allocations: 123.3 kB / 398.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007609/0.257, allocations: 297.9 kB / 398.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.269, allocations: 8.218 MB / 407 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.239e-05/0.2691, allocations: 35.69 kB / 407.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.2693, allocations: 77.22 kB / 407.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/0.2712, allocations: 1.398 MB / 408.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.2864, allocations: 9.54 MB / 418.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.3147, allocations: 30.53 MB / 448.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.3252, allocations: 4.387 MB / 453 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.3276, allocations: 2.109 MB / 455.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.727e-05/0.3277, allocations: 16 kB / 455.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3278, allocations: 50.48 kB / 455.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.866e-06/0.3278, allocations: 0 / 455.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04074/0.3685, allocations: 18.3 MB / 473.5 MB, free: 2.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002073/0.3706, allocations: 3.237 MB / 476.7 MB, free: 15.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.3742, allocations: 2.987 MB / 479.7 MB, free: 12.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.3744, allocations: 45.7 kB / 479.7 MB, free: 12.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.3757, allocations: 2.078 MB / 481.8 MB, free: 9.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.3762, allocations: 0.56 MB / 482.4 MB, free: 9.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.3777, allocations: 1.005 MB / 483.4 MB, free: 8.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.3778, allocations: 309.1 kB / 483.7 MB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/0.3812, allocations: 2.574 MB / 486.3 MB, free: 5.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/0.3864, allocations: 5.521 MB / 491.8 MB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008695/0.3951, allocations: 8.521 MB / 0.4886 GB, free: 4.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.063e-05/0.3951, allocations: 31.94 kB / 0.4886 GB, free: 4.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01772/0.4129, allocations: 9.857 MB / 0.4982 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.4129, allocations: 51.94 kB / 0.4983 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01067/0.4236, allocations: 5.11 MB / 0.5033 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007914/0.4315, allocations: 2.359 MB / 0.5056 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.4348, allocations: 1.232 MB / 0.5068 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.4426, allocations: 8.693 MB / 0.5153 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.4462, allocations: 0.5674 MB / 0.5158 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/0.4466, allocations: 315.9 kB / 0.5161 GB, free: 7.703 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.001759/0.4484, allocations: 1.413 MB / 0.5175 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.4488, allocations: 260.7 kB / 0.5177 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.4495, allocations: 419.2 kB / 0.5181 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01047/0.46, allocations: 5.014 MB / 0.523 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.46, allocations: 4 kB / 0.523 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4601, allocations: 11.97 kB / 0.5231 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1446/0.6047, allocations: 5.343 MB / 0.5283 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6047, allocations: 1.25 kB / 0.5283 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.6064, allocations: 378.2 kB / 0.5286 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00768/0.6141, allocations: 2.386 MB / 0.531 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.6143, allocations: 49.75 kB / 0.531 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007767/0.6221, allocations: 9.445 MB / 0.5402 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00123/0.6233, allocations: 3.068 MB / 0.5432 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.6364, allocations: 8.771 MB / 0.5518 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000546/0.6369, allocations: 322.3 kB / 0.5521 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.6373, allocations: 38.25 kB / 0.5521 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.6391, allocations: 315.5 kB / 0.5524 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/0.6395, allocations: 107.1 kB / 0.5525 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.6396, allocations: 55.48 kB / 0.5526 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.6417, allocations: 1.869 MB / 0.5544 GB, free: 130.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6417, allocations: 3.875 kB / 0.5544 GB, free: 130.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003156/0.6449, allocations: 0.9438 MB / 0.5554 GB, free: 130.4 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.01264/0.6575, allocations: 9.426 MB / 0.5646 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008511/0.666, allocations: 7.544 MB / 0.5719 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6661, allocations: 0 / 0.5719 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004638/0.6707, allocations: 3.644 MB / 0.5755 GB, free: 112.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6725, allocations: 311.3 kB / 0.5758 GB, free: 112.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05872/0.7312, allocations: 49 MB / 0.6236 GB, free: 57.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.7328, allocations: 2.29 MB / 0.6259 GB, free: 55.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003281/0.7361, allocations: 1.663 MB / 0.6275 GB, free: 53.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.7374, allocations: 1.163 MB / 0.6286 GB, free: 52.63 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7374, allocations: 0 / 0.6286 GB, free: 52.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.881, allocations: 65.78 MB / 0.6929 GB, free: 153 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/1.881, allocations: 249.1 kB / 0.6931 GB, free: 152.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/5.261, allocations: 0 / 0.6931 GB, free: 152.7 MB / 462.1 MB (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