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.001215/0.001215, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001176/0.001176, allocations: 187 kB / 18.67 MB, free: 4.387 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.395/1.395, 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.001308/0.001308, allocations: 51.94 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08813, allocations: 46.61 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1762/0.2644, allocations: 7.001 MB / 381.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005892/0.2703, allocations: 3.091 MB / 384.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008891/0.2713, allocations: 35.16 kB / 384.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.2728, allocations: 0.6709 MB / 385.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.2765, allocations: 1.414 MB / 386.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.2777, allocations: 0.4906 MB / 387.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.2821, allocations: 3.125 MB / 390.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000774/0.2829, allocations: 457.8 kB / 390.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.2842, allocations: 0.805 MB / 391.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.2858, allocations: 1.218 MB / 392.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.2862, allocations: 130.6 kB / 393.1 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2882, allocations: 0.949 MB / 394 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.2895, allocations: 1.093 MB / 395.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.2908, allocations: 1.242 MB / 396.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.2956, allocations: 4.098 MB / 400.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2957, allocations: 4 kB / 400.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2957, allocations: 0 / 400.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-05/0.2958, allocations: 1.062 kB / 400.5 MB, free: 1.582 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.007537/0.3033, allocations: 3.326 MB / 403.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3034, allocations: 9.875 kB / 403.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007114/0.3041, allocations: 440.4 kB / 404.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008791/0.3129, allocations: 1.928 MB / 406.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.3182, allocations: 2.553 MB / 408.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3184, allocations: 114.1 kB / 408.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.3194, allocations: 304 kB / 409.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.3345, allocations: 8.221 MB / 417.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.3346, allocations: 37.38 kB / 417.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/0.3349, allocations: 79.89 kB / 417.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002347/0.3373, allocations: 1.397 MB / 418.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.3558, allocations: 9.538 MB / 428.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03975/0.3956, allocations: 30.53 MB / 458.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.4082, allocations: 4.387 MB / 463.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/0.4112, allocations: 2.114 MB / 465.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.4113, allocations: 12 kB / 465.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4114, allocations: 50.48 kB / 465.5 MB, free: 3.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.607e-06/0.4114, allocations: 0 / 465.5 MB, free: 3.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05062/0.462, allocations: 18.6 MB / 484.1 MB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002603/0.4647, allocations: 3.229 MB / 487.3 MB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/0.4697, allocations: 3.036 MB / 490.3 MB, free: 9.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000559/0.4703, allocations: 41.7 kB / 490.4 MB, free: 9.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.472, allocations: 2.187 MB / 492.6 MB, free: 7.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.4732, allocations: 0.5854 MB / 493.2 MB, free: 6.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/0.4759, allocations: 1.012 MB / 494.2 MB, free: 5.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.476, allocations: 301.1 kB / 494.5 MB, free: 5.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/0.4803, allocations: 2.578 MB / 497 MB, free: 3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006719/0.4871, allocations: 5.528 MB / 0.4908 GB, free: 11.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.498, allocations: 8.52 MB / 0.4991 GB, free: 2.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.627e-05/0.4981, allocations: 32 kB / 0.4991 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02385/0.522, allocations: 9.881 MB / 0.5088 GB, free: 8.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.5222, allocations: 52 kB / 0.5088 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01358/0.5358, allocations: 5.108 MB / 0.5138 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00939/0.5452, allocations: 2.343 MB / 0.5161 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004778/0.55, allocations: 1.24 MB / 0.5173 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009399/0.5594, allocations: 8.696 MB / 0.5258 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/0.5648, allocations: 0.5577 MB / 0.5264 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/0.5662, allocations: 315.9 kB / 0.5267 GB, free: 5.133 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.00358/0.5698, allocations: 1.414 MB / 0.528 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.5706, allocations: 274.2 kB / 0.5283 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.5718, allocations: 419.4 kB / 0.5287 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01274/0.5846, allocations: 5.01 MB / 0.5336 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/0.5846, allocations: 8 kB / 0.5336 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.5847, allocations: 7.969 kB / 0.5336 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.5957, allocations: 5.355 MB / 0.5388 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.5957, allocations: 0 / 0.5388 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/0.5977, allocations: 371.4 kB / 0.5392 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009061/0.6068, allocations: 2.39 MB / 0.5415 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005479/0.6074, allocations: 47.95 kB / 0.5416 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1806/0.7881, allocations: 9.443 MB / 0.5508 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001646/0.7897, allocations: 3.071 MB / 0.5538 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/0.8086, allocations: 8.79 MB / 0.5624 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.8095, allocations: 342.9 kB / 0.5627 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009845/0.8105, allocations: 36.12 kB / 0.5627 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/0.8134, allocations: 316.7 kB / 0.563 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/0.814, allocations: 107.4 kB / 0.5631 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/0.8143, allocations: 54.94 kB / 0.5632 GB, free: 143.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003958/0.8183, allocations: 1.891 MB / 0.565 GB, free: 142.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8183, allocations: 4.969 kB / 0.565 GB, free: 142.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005572/0.8239, allocations: 0.9571 MB / 0.566 GB, free: 142.8 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.01689/0.8408, allocations: 9.439 MB / 0.5752 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.8519, allocations: 7.265 MB / 0.5823 GB, free: 136.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/0.852, allocations: 0 / 0.5823 GB, free: 136.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006693/0.8587, allocations: 3.647 MB / 0.5859 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.004177/0.8629, allocations: 310.7 kB / 0.5862 GB, free: 134.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.072/0.9349, allocations: 45.38 MB / 0.6305 GB, free: 85.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/0.937, allocations: 2.295 MB / 0.6327 GB, free: 82.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003441/0.9405, allocations: 1.663 MB / 0.6343 GB, free: 81.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/0.9423, allocations: 1.171 MB / 0.6355 GB, free: 79.91 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9424, allocations: 3.938 kB / 0.6355 GB, free: 79.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09642/1.039, allocations: 62.92 MB / 0.6969 GB, free: 16.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/19.51, allocations: 15.64 kB / 0.6969 GB, free: 16.89 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