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.001698/0.001698, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.0021/0.0021, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.507/1.507, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001627/0.001627, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09242, allocations: 46.62 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1878/0.2803, allocations: 7.003 MB / 381.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.2858, allocations: 3.094 MB / 384.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.2866, allocations: 32 kB / 384.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2881, allocations: 0.6727 MB / 385.5 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.2911, allocations: 1.385 MB / 386.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.2921, allocations: 0.4978 MB / 387.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.2962, allocations: 3.128 MB / 390.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.2969, allocations: 451.7 kB / 390.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.2981, allocations: 0.7957 MB / 391.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.2997, allocations: 1.222 MB / 392.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.3001, allocations: 130.8 kB / 393 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.302, allocations: 0.9442 MB / 394 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3031, allocations: 1.092 MB / 395.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009908/0.3041, allocations: 1.243 MB / 396.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.3081, allocations: 4.098 MB / 400.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3081, allocations: 0 / 400.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3081, allocations: 0 / 400.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.304e-05/0.3082, allocations: 1.219 kB / 400.4 MB, free: 1.594 MB / 318.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.006651/0.3148, allocations: 3.326 MB / 403.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3149, allocations: 9.594 kB / 403.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006179/0.3155, allocations: 445.1 kB / 404.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00847/0.324, allocations: 1.923 MB / 406.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/0.3288, allocations: 2.558 MB / 408.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3289, allocations: 116.1 kB / 408.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009713/0.3299, allocations: 304.3 kB / 409.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/0.3465, allocations: 8.225 MB / 417.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-05/0.3466, allocations: 39.62 kB / 417.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.3469, allocations: 79.89 kB / 417.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/0.3493, allocations: 1.397 MB / 418.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.3689, allocations: 9.534 MB / 428.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/0.4091, allocations: 30.53 MB / 458.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.422, allocations: 4.392 MB / 463.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.4254, allocations: 2.113 MB / 465.4 MB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4255, allocations: 19.98 kB / 465.4 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.4256, allocations: 47.12 kB / 465.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.416e-06/0.4256, allocations: 0 / 465.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05084/0.4764, allocations: 18.59 MB / 484 MB, free: 412 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002917/0.4794, allocations: 3.237 MB / 487.3 MB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/0.4843, allocations: 3.036 MB / 490.3 MB, free: 9.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005858/0.4849, allocations: 45.69 kB / 490.4 MB, free: 9.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.4867, allocations: 2.179 MB / 492.5 MB, free: 7.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/0.4876, allocations: 0.5854 MB / 493.1 MB, free: 6.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.4892, allocations: 1.012 MB / 494.1 MB, free: 5.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4894, allocations: 305.1 kB / 494.4 MB, free: 5.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/0.4937, allocations: 2.578 MB / 497 MB, free: 3.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006771/0.5005, allocations: 5.528 MB / 0.4908 GB, free: 12.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.5126, allocations: 8.519 MB / 0.4991 GB, free: 2.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.5127, allocations: 28 kB / 0.4991 GB, free: 2.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02459/0.5373, allocations: 9.882 MB / 0.5088 GB, free: 8.086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/0.5374, allocations: 52 kB / 0.5088 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01371/0.5512, allocations: 5.104 MB / 0.5138 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009856/0.561, allocations: 2.351 MB / 0.5161 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/0.5658, allocations: 1.232 MB / 0.5173 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.5764, allocations: 8.69 MB / 0.5258 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005356/0.5818, allocations: 0.5577 MB / 0.5263 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/0.5827, allocations: 315.9 kB / 0.5266 GB, free: 5.168 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.002722/0.5854, allocations: 1.422 MB / 0.528 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006999/0.5861, allocations: 274.2 kB / 0.5283 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.5871, allocations: 415.4 kB / 0.5287 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01291/0.6, allocations: 5.014 MB / 0.5336 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.213e-05/0.6001, allocations: 15.98 kB / 0.5336 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.6001, allocations: 3.984 kB / 0.5336 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009766/0.6099, allocations: 5.35 MB / 0.5388 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.61, allocations: 0 / 0.5388 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.6118, allocations: 363.4 kB / 0.5392 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009429/0.6213, allocations: 2.386 MB / 0.5415 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005758/0.6219, allocations: 47.94 kB / 0.5415 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1891/0.811, allocations: 9.441 MB / 0.5508 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00143/0.8125, allocations: 3.073 MB / 0.5538 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/0.8303, allocations: 8.793 MB / 0.5623 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.8314, allocations: 342.8 kB / 0.5627 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/0.8325, allocations: 37.27 kB / 0.5627 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/0.8355, allocations: 323 kB / 0.563 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/0.8361, allocations: 108.3 kB / 0.5631 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/0.8363, allocations: 51.22 kB / 0.5632 GB, free: 143.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003816/0.8402, allocations: 1.894 MB / 0.565 GB, free: 143 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8402, allocations: 0 / 0.565 GB, free: 143 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00526/0.8454, allocations: 0.9572 MB / 0.566 GB, free: 142.9 MB / 478.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.01571/0.8612, allocations: 9.441 MB / 0.5752 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009906/0.8711, allocations: 7.262 MB / 0.5823 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8712, allocations: 0 / 0.5823 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005352/0.8765, allocations: 3.658 MB / 0.5858 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.8788, allocations: 307.1 kB / 0.5861 GB, free: 134.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06838/0.9472, allocations: 45.38 MB / 0.6305 GB, free: 85.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.9492, allocations: 2.295 MB / 0.6327 GB, free: 82.78 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003258/0.9524, allocations: 1.667 MB / 0.6343 GB, free: 81.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/0.9541, allocations: 1.171 MB / 0.6355 GB, free: 79.93 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.9541, allocations: 0 / 0.6355 GB, free: 79.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09783/1.052, allocations: 62.92 MB / 0.6969 GB, free: 16.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.27/20.32, allocations: 15.77 kB / 0.6969 GB, free: 16.91 MB / 478.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches