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.001713/0.001713, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.45 kB / 307.1 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.077, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006496/0.08352, allocations: 6.957 MB / 364.5 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.08803, allocations: 3.111 MB / 367.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005436/0.08859, allocations: 31.94 kB / 367.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.08983, allocations: 0.6613 MB / 368.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.09212, allocations: 1.374 MB / 369.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.09288, allocations: 0.4912 MB / 370.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1227/0.2156, allocations: 3.198 MB / 373.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006879/0.2163, allocations: 450.5 kB / 373.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.2173, allocations: 0.7851 MB / 374.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.2188, allocations: 1.203 MB / 375.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.2192, allocations: 131.4 kB / 376 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.2208, allocations: 0.9326 MB / 376.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009961/0.2218, allocations: 1.064 MB / 378 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2231, allocations: 1.222 MB / 379.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003697/0.2268, allocations: 3.839 MB / 383 MB, free: 8.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2268, allocations: 0 / 383 MB, free: 8.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2268, allocations: 1.156 kB / 383 MB, free: 8.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.2269, allocations: 0 / 383 MB, free: 8.086 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.006148/0.2331, allocations: 3.199 MB / 386.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2331, allocations: 11.19 kB / 386.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003966/0.2335, allocations: 433.4 kB / 386.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007617/0.2412, allocations: 2.032 MB / 388.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.2437, allocations: 2.021 MB / 390.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.2438, allocations: 118.8 kB / 390.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007104/0.2445, allocations: 302.8 kB / 391.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.2546, allocations: 8.221 MB / 399.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/0.2547, allocations: 39.59 kB / 399.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.2549, allocations: 80.83 kB / 399.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001897/0.2568, allocations: 1.396 MB / 400.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.2711, allocations: 9.535 MB / 410.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.2972, allocations: 30.53 MB / 440.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.3075, allocations: 4.397 MB / 445.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.3098, allocations: 2.107 MB / 447.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.3099, allocations: 16 kB / 447.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3099, allocations: 53.77 kB / 447.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.146e-06/0.3099, allocations: 4 kB / 447.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.03999/0.3499, allocations: 18.3 MB / 465.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001865/0.3518, allocations: 3.229 MB / 469 MB, free: 8.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.3551, allocations: 2.995 MB / 472 MB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.3552, allocations: 45.7 kB / 472.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.3564, allocations: 2.074 MB / 474.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.3569, allocations: 0.5679 MB / 474.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.3582, allocations: 1.002 MB / 475.7 MB, free: 1.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.3583, allocations: 301.1 kB / 476 MB, free: 1.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/0.3615, allocations: 2.57 MB / 478.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004643/0.3661, allocations: 5.529 MB / 484.1 MB, free: 7.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/0.3743, allocations: 8.517 MB / 492.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.334e-05/0.3743, allocations: 28 kB / 492.6 MB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0177/0.3921, allocations: 9.858 MB / 0.4907 GB, free: 3.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.3921, allocations: 56.19 kB / 0.4908 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01133/0.4035, allocations: 5.106 MB / 0.4958 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008277/0.4117, allocations: 2.359 MB / 0.4981 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/0.415, allocations: 1.232 MB / 0.4993 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.4224, allocations: 8.694 MB / 0.5078 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.4261, allocations: 0.5615 MB / 0.5083 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/0.4265, allocations: 315.9 kB / 0.5086 GB, free: 1.016 MB / 430.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.002364/0.4289, allocations: 1.423 MB / 0.51 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007083/0.4296, allocations: 252.7 kB / 0.5102 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.4305, allocations: 415.2 kB / 0.5106 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01154/0.442, allocations: 5.022 MB / 0.5155 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.4421, allocations: 4 kB / 0.5155 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.4421, allocations: 11.92 kB / 0.5156 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008438/0.4505, allocations: 5.349 MB / 0.5208 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4506, allocations: 4 kB / 0.5208 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.4523, allocations: 363.7 kB / 0.5211 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008509/0.4608, allocations: 2.397 MB / 0.5235 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/0.4613, allocations: 51.95 kB / 0.5235 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1603/0.6216, allocations: 9.449 MB / 0.5328 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001404/0.6231, allocations: 3.068 MB / 0.5357 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.6392, allocations: 8.765 MB / 0.5443 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/0.6398, allocations: 327.1 kB / 0.5446 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006483/0.6405, allocations: 31.47 kB / 0.5446 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/0.6428, allocations: 324.6 kB / 0.545 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000449/0.6432, allocations: 105.2 kB / 0.5451 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/0.6434, allocations: 52.3 kB / 0.5451 GB, free: 134.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002817/0.6463, allocations: 1.875 MB / 0.5469 GB, free: 133.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6463, allocations: 0 / 0.5469 GB, free: 133.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003769/0.65, allocations: 0.9422 MB / 0.5479 GB, free: 133.3 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.0142/0.6642, allocations: 9.414 MB / 0.5571 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.6746, allocations: 7.544 MB / 0.5644 GB, free: 124.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6747, allocations: 0 / 0.5644 GB, free: 124.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00537/0.68, allocations: 3.651 MB / 0.568 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.6824, allocations: 314.4 kB / 0.5683 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06686/0.7492, allocations: 47.97 MB / 0.6151 GB, free: 67.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002959/0.7523, allocations: 2.29 MB / 0.6174 GB, free: 64.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004233/0.7565, allocations: 1.667 MB / 0.619 GB, free: 63.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/0.7584, allocations: 1.159 MB / 0.6201 GB, free: 61.98 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7584, allocations: 4 kB / 0.6201 GB, free: 61.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.232/2.99, allocations: 65.63 MB / 0.6842 GB, free: 12.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/17.75, allocations: 19.19 kB / 0.6842 GB, free: 12.57 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