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.001222/0.001222, allocations: 105.2 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07907/0.08032, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01234/0.09269, allocations: 13.87 MB / 370.8 MB, free: 480 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1497/0.2425, allocations: 4.285 MB / 375 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.2441, allocations: 56.22 kB / 375.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2456, allocations: 0.6395 MB / 375.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.2482, allocations: 1.275 MB / 377 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.2491, allocations: 465.4 kB / 377.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004471/0.2536, allocations: 4.207 MB / 381.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006449/0.2542, allocations: 434.4 kB / 382.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.2551, allocations: 0.676 MB / 382.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.2565, allocations: 1.304 MB / 384.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.2567, allocations: 82.44 kB / 384.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.2583, allocations: 0.9442 MB / 385.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.2591, allocations: 1.049 MB / 386.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007883/0.2599, allocations: 1.186 MB / 387.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.2627, allocations: 3.804 MB / 391.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2627, allocations: 7.875 kB / 391.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2627, allocations: 0 / 391.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.631e-05/0.2627, allocations: 4 kB / 391.2 MB, free: 3.102 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.005672/0.2684, allocations: 3.197 MB / 394.4 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2685, allocations: 10.75 kB / 394.4 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000449/0.2689, allocations: 438.5 kB / 394.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007944/0.2769, allocations: 2.027 MB / 396.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.2802, allocations: 2.023 MB / 398.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.2803, allocations: 115.3 kB / 399 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008202/0.2811, allocations: 305.5 kB / 399.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.2943, allocations: 8.219 MB / 407.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.2943, allocations: 43.62 kB / 407.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.2946, allocations: 76.05 kB / 407.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001933/0.2965, allocations: 1.392 MB / 409 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.3148, allocations: 9.537 MB / 418.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04829/0.3631, allocations: 30.53 MB / 449.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/0.3804, allocations: 4.383 MB / 453.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004781/0.3852, allocations: 2.109 MB / 455.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.3854, allocations: 18.28 kB / 455.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.3855, allocations: 42.56 kB / 455.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 6.662e-06/0.3855, allocations: 0 / 455.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04706/0.4325, allocations: 18.31 MB / 473.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002166/0.4347, allocations: 3.058 MB / 477 MB, free: 14.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/0.4394, allocations: 2.987 MB / 480 MB, free: 11.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.4397, allocations: 48.2 kB / 480 MB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.4411, allocations: 2.073 MB / 482.1 MB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007218/0.4418, allocations: 0.5643 MB / 482.6 MB, free: 8.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/0.4435, allocations: 1.008 MB / 483.7 MB, free: 7.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.4436, allocations: 309.1 kB / 484 MB, free: 7.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/0.4474, allocations: 2.574 MB / 486.5 MB, free: 5.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00559/0.453, allocations: 5.517 MB / 492 MB, free: 14.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/0.4623, allocations: 8.524 MB / 0.4888 GB, free: 4.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-05/0.4624, allocations: 28 kB / 0.4889 GB, free: 4.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01881/0.4812, allocations: 9.859 MB / 0.4985 GB, free: 10.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.4813, allocations: 48.94 kB / 0.4985 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01106/0.4924, allocations: 5.109 MB / 0.5035 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008197/0.5006, allocations: 2.351 MB / 0.5058 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/0.5042, allocations: 1.236 MB / 0.507 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.5124, allocations: 8.147 MB / 0.515 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/0.5168, allocations: 0.5636 MB / 0.5155 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/0.5176, allocations: 315.9 kB / 0.5158 GB, free: 7.797 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.002642/0.5202, allocations: 1.414 MB / 0.5172 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/0.5209, allocations: 260.7 kB / 0.5175 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.5218, allocations: 411.2 kB / 0.5179 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0109/0.5327, allocations: 5.018 MB / 0.5228 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.405e-05/0.5328, allocations: 8 kB / 0.5228 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.5328, allocations: 7.922 kB / 0.5228 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1714/0.7042, allocations: 5.346 MB / 0.528 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7043, allocations: 6.094 kB / 0.528 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.706, allocations: 373.1 kB / 0.5284 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008205/0.7142, allocations: 2.379 MB / 0.5307 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003902/0.7146, allocations: 47.28 kB / 0.5307 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008025/0.7227, allocations: 8.819 MB / 0.5393 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001315/0.724, allocations: 2.894 MB / 0.5422 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.7385, allocations: 8.772 MB / 0.5507 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/0.7392, allocations: 328.8 kB / 0.551 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/0.7396, allocations: 35.62 kB / 0.5511 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.7415, allocations: 311.7 kB / 0.5514 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.7419, allocations: 111.5 kB / 0.5515 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.7421, allocations: 51.8 kB / 0.5515 GB, free: 131.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002272/0.7444, allocations: 1.868 MB / 0.5534 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7444, allocations: 3.938 kB / 0.5534 GB, free: 131.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003465/0.7479, allocations: 0.95 MB / 0.5543 GB, free: 131 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.01344/0.7613, allocations: 9.425 MB / 0.5635 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008987/0.7703, allocations: 7.233 MB / 0.5706 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7704, allocations: 0 / 0.5706 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004845/0.7752, allocations: 3.625 MB / 0.5741 GB, free: 113.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.7773, allocations: 298 kB / 0.5744 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06652/0.8438, allocations: 49 MB / 0.6222 GB, free: 59.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.8459, allocations: 2.286 MB / 0.6245 GB, free: 56.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003362/0.8492, allocations: 1.671 MB / 0.6261 GB, free: 55.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.8508, allocations: 1.159 MB / 0.6272 GB, free: 53.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.8508, allocations: 0 / 0.6272 GB, free: 53.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.9187, allocations: 64.08 MB / 0.6898 GB, free: 6.012 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.919, allocations: 258.4 kB / 0.6901 GB, free: 5.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/4.36, allocations: 3.625 kB / 0.6901 GB, free: 5.75 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