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.001161/0.001161, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001127/0.001127, allocations: 187 kB / 18.66 MB, free: 4.398 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.257/1.257, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001508/0.001509, allocations: 55.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, 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.2911/0.4128, allocations: 6.987 MB / 381.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007329/0.4202, allocations: 3.1 MB / 384.7 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.4216, allocations: 36 kB / 384.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.4235, allocations: 0.664 MB / 385.4 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.4272, allocations: 1.389 MB / 386.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.4284, allocations: 0.496 MB / 387.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005616/0.434, allocations: 3.135 MB / 390.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000996/0.435, allocations: 453.8 kB / 390.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.4367, allocations: 0.8052 MB / 391.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.4386, allocations: 1.217 MB / 392.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.439, allocations: 130.5 kB / 393 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.4415, allocations: 0.9442 MB / 394 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.443, allocations: 1.092 MB / 395.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.4444, allocations: 1.247 MB / 396.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.45, allocations: 4.072 MB / 400.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4501, allocations: 0 / 400.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4501, allocations: 0 / 400.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.274e-05/0.4502, allocations: 0 / 400.4 MB, free: 1.648 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.008361/0.4586, allocations: 3.252 MB / 403.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.4586, allocations: 13.55 kB / 403.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006794/0.4593, allocations: 435.2 kB / 404.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008726/0.4681, allocations: 1.916 MB / 406 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006339/0.4744, allocations: 2.551 MB / 408.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.4746, allocations: 118.6 kB / 408.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.4757, allocations: 297.8 kB / 409 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.4925, allocations: 8.22 MB / 417.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.871e-05/0.4926, allocations: 39.64 kB / 417.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.4929, allocations: 79.89 kB / 417.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002291/0.4952, allocations: 1.401 MB / 418.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.5138, allocations: 9.529 MB / 428.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04444/0.5583, allocations: 30.5 MB / 458.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.5706, allocations: 4.385 MB / 463.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003235/0.5739, allocations: 2.113 MB / 465.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.597e-05/0.574, allocations: 12 kB / 465.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.574, allocations: 50.44 kB / 465.3 MB, free: 3.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 4.589e-06/0.574, allocations: 0 / 465.3 MB, free: 3.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04882/0.6229, allocations: 18.43 MB / 483.7 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002789/0.6257, allocations: 3.233 MB / 486.9 MB, free: 13.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005008/0.6307, allocations: 3.02 MB / 490 MB, free: 10.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008533/0.6316, allocations: 41.7 kB / 490 MB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.6333, allocations: 2.103 MB / 492.1 MB, free: 7.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.6344, allocations: 0.5594 MB / 492.7 MB, free: 7.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.636, allocations: 1.003 MB / 493.7 MB, free: 6.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6361, allocations: 301.1 kB / 494 MB, free: 6.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003734/0.6399, allocations: 2.582 MB / 496.5 MB, free: 3.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005958/0.6458, allocations: 5.52 MB / 0.4903 GB, free: 12.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.6567, allocations: 8.523 MB / 0.4986 GB, free: 2.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-05/0.6568, allocations: 28 kB / 0.4987 GB, free: 2.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02355/0.6803, allocations: 9.862 MB / 0.5083 GB, free: 8.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.6806, allocations: 52 kB / 0.5083 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01346/0.694, allocations: 5.112 MB / 0.5133 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009939/0.704, allocations: 2.347 MB / 0.5156 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/0.7092, allocations: 1.236 MB / 0.5168 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.72, allocations: 8.684 MB / 0.5253 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/0.7271, allocations: 0.5614 MB / 0.5259 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/0.7291, allocations: 311.9 kB / 0.5262 GB, free: 5.648 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.004825/0.7339, allocations: 1.422 MB / 0.5275 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/0.735, allocations: 260.9 kB / 0.5278 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.7364, allocations: 419.4 kB / 0.5282 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01281/0.7492, allocations: 5.01 MB / 0.5331 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-05/0.7493, allocations: 8 kB / 0.5331 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/0.7493, allocations: 7.984 kB / 0.5331 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.762, allocations: 5.366 MB / 0.5383 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.762, allocations: 0 / 0.5383 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/0.764, allocations: 371.4 kB / 0.5387 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009431/0.7735, allocations: 2.378 MB / 0.541 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006652/0.7742, allocations: 51.94 kB / 0.5411 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2426/1.017, allocations: 9.435 MB / 0.5503 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001966/1.019, allocations: 3.068 MB / 0.5533 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0222/1.041, allocations: 8.776 MB / 0.5618 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.043, allocations: 331.4 kB / 0.5622 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009569/1.044, allocations: 33.89 kB / 0.5622 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.046, allocations: 321.1 kB / 0.5625 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/1.047, allocations: 102.1 kB / 0.5626 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.047, allocations: 59.17 kB / 0.5627 GB, free: 143.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003841/1.051, allocations: 1.893 MB / 0.5645 GB, free: 142.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.051, allocations: 0 / 0.5645 GB, free: 142.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005899/1.057, allocations: 0.9559 MB / 0.5654 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.01817/1.075, allocations: 9.425 MB / 0.5746 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01145/1.086, allocations: 7.266 MB / 0.5817 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.086, allocations: 3.656 kB / 0.5817 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006205/1.093, allocations: 3.644 MB / 0.5853 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.095, allocations: 303.8 kB / 0.5856 GB, free: 134.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08189/1.177, allocations: 45.26 MB / 0.6298 GB, free: 85.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/1.181, allocations: 2.305 MB / 0.632 GB, free: 83.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005008/1.186, allocations: 1.663 MB / 0.6337 GB, free: 81.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.188, allocations: 1.175 MB / 0.6348 GB, free: 80.62 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/1.188, allocations: 0 / 0.6348 GB, free: 80.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.989/4.178, allocations: 64.23 MB / 0.6975 GB, free: 16.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.88/24.06, allocations: 11.69 kB / 0.6975 GB, free: 16.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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