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.0008298/0.0008299, allocations: 94.81 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009722/0.0009722, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.7 MB / 246.8 MB, free: 9.559 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002369, allocations: 11.98 kB / 307.8 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.0939, allocations: 51.52 MB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1886/0.2826, allocations: 13.28 MB / 372.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008675/0.2913, allocations: 4.243 MB / 376.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.2932, allocations: 53.94 kB / 376.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.294, allocations: 268.1 kB / 377.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.2975, allocations: 1.29 MB / 378.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2985, allocations: 464.8 kB / 378.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005434/0.304, allocations: 4.209 MB / 383.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.3049, allocations: 0.5508 MB / 383.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.3062, allocations: 0.676 MB / 384.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.3081, allocations: 1.308 MB / 385.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.3084, allocations: 82.47 kB / 385.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.3104, allocations: 0.9429 MB / 386.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.3116, allocations: 1.056 MB / 387.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.3127, allocations: 1.207 MB / 389 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.3166, allocations: 3.748 MB / 392.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3166, allocations: 3.938 kB / 392.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.3167, allocations: 0 / 392.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.063e-05/0.3167, allocations: 3.938 kB / 392.7 MB, free: 2.809 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.00669/0.3234, allocations: 2.684 MB / 395.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3235, allocations: 13.91 kB / 395.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/0.3239, allocations: 444.6 kB / 395.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008095/0.332, allocations: 2.066 MB / 397.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.3354, allocations: 2.013 MB / 399.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/0.3354, allocations: 114.2 kB / 400.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008059/0.3363, allocations: 309.1 kB / 400.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3493, allocations: 8.244 MB / 408.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.984e-05/0.3494, allocations: 35.59 kB / 408.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.3497, allocations: 81.22 kB / 408.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002168/0.3519, allocations: 1.393 MB / 410.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.3686, allocations: 9.535 MB / 419.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03433/0.403, allocations: 30.5 MB / 450.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.4144, allocations: 4.437 MB / 454.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.4171, allocations: 2.109 MB / 456.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.4172, allocations: 8 kB / 456.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4172, allocations: 50.5 kB / 456.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.887e-06/0.4173, allocations: 4 kB / 456.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04514/0.4624, allocations: 18.42 MB / 475.2 MB, free: 1.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002208/0.4646, allocations: 3.062 MB / 478.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005182/0.4699, allocations: 2.987 MB / 481.2 MB, free: 11.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006201/0.4705, allocations: 41.7 kB / 481.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.4721, allocations: 2.086 MB / 483.3 MB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.4731, allocations: 0.5632 MB / 483.9 MB, free: 8.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4742, allocations: 419.1 kB / 484.3 MB, free: 8.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.4743, allocations: 305.1 kB / 484.6 MB, free: 8.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004194/0.4785, allocations: 2.574 MB / 487.2 MB, free: 5.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/0.4844, allocations: 5.525 MB / 492.7 MB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009946/0.4943, allocations: 8.514 MB / 0.4895 GB, free: 4.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-05/0.4944, allocations: 28 kB / 0.4895 GB, free: 4.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02157/0.516, allocations: 9.858 MB / 0.4991 GB, free: 10.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.5162, allocations: 48 kB / 0.4992 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01177/0.5279, allocations: 5.105 MB / 0.5042 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008883/0.5369, allocations: 2.355 MB / 0.5065 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.541, allocations: 1.236 MB / 0.5077 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.5487, allocations: 8.148 MB / 0.5156 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/0.5535, allocations: 0.5556 MB / 0.5162 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009113/0.5544, allocations: 319.2 kB / 0.5165 GB, free: 8.348 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.00304/0.5574, allocations: 1.414 MB / 0.5179 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007341/0.5582, allocations: 252.7 kB / 0.5181 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.5593, allocations: 419.1 kB / 0.5185 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01143/0.5708, allocations: 5.014 MB / 0.5234 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.5708, allocations: 8 kB / 0.5234 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.5708, allocations: 7.922 kB / 0.5234 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1851/0.7559, allocations: 5.353 MB / 0.5286 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.756, allocations: 2.594 kB / 0.5286 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.7578, allocations: 366 kB / 0.529 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008734/0.7666, allocations: 2.39 MB / 0.5313 GB, free: 142 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/0.7669, allocations: 48.17 kB / 0.5314 GB, free: 142 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008663/0.7755, allocations: 8.844 MB / 0.54 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001398/0.7769, allocations: 2.893 MB / 0.5428 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.7923, allocations: 8.775 MB / 0.5514 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007993/0.7931, allocations: 332 kB / 0.5517 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007185/0.7938, allocations: 32.77 kB / 0.5517 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.7963, allocations: 320.1 kB / 0.5521 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/0.7967, allocations: 107.1 kB / 0.5522 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.7969, allocations: 60.16 kB / 0.5522 GB, free: 130.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003624/0.8005, allocations: 1.87 MB / 0.554 GB, free: 130.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8005, allocations: 0 / 0.554 GB, free: 130.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004593/0.8051, allocations: 0.9396 MB / 0.555 GB, free: 130.2 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.01453/0.8197, allocations: 9.427 MB / 0.5642 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009511/0.8292, allocations: 7.207 MB / 0.5712 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8292, allocations: 0 / 0.5712 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005098/0.8343, allocations: 3.621 MB / 0.5747 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.8374, allocations: 290.6 kB / 0.575 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07075/0.9081, allocations: 49.28 MB / 0.6231 GB, free: 58.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/0.9104, allocations: 2.298 MB / 0.6254 GB, free: 55.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003432/0.9138, allocations: 1.667 MB / 0.627 GB, free: 54.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/0.9154, allocations: 1.167 MB / 0.6282 GB, free: 53.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.9154, allocations: 0 / 0.6282 GB, free: 53.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/0.9931, allocations: 63.39 MB / 0.6901 GB, free: 6.008 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.9933, allocations: 249.8 kB / 0.6903 GB, free: 5.754 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.942, allocations: 0 / 0.6903 GB, free: 5.754 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