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.001736/0.001736, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002136, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 67.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2271, allocations: 50.55 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008378/0.2355, allocations: 6.949 MB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.2415, allocations: 3.115 MB / 418.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.2422, allocations: 31.94 kB / 418.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.2437, allocations: 0.6653 MB / 419.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.247, allocations: 1.362 MB / 421 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2481, allocations: 495.1 kB / 421.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004146/0.2523, allocations: 3.21 MB / 424.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007729/0.2531, allocations: 455.1 kB / 425.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.2542, allocations: 0.7861 MB / 425.9 MB, free: 372 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.2559, allocations: 1.199 MB / 427.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.2563, allocations: 136 kB / 427.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.2582, allocations: 0.9321 MB / 428.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.2593, allocations: 1.071 MB / 429.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.2607, allocations: 1.215 MB / 430.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.2657, allocations: 4.029 MB / 434.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2658, allocations: 0 / 434.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2658, allocations: 0 / 434.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.863e-05/0.2659, allocations: 0 / 434.5 MB, free: 7.754 MB / 350.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.006791/0.2727, allocations: 3.278 MB / 437.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2727, allocations: 8.031 kB / 437.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005411/0.2733, allocations: 441.4 kB / 438.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/0.2819, allocations: 2.047 MB / 440.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/0.2856, allocations: 2.043 MB / 442.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2858, allocations: 122.6 kB / 442.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009335/0.2867, allocations: 303.5 kB / 442.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.3019, allocations: 8.223 MB / 450.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.302, allocations: 39.64 kB / 450.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/0.3023, allocations: 79.89 kB / 451 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/0.3046, allocations: 1.393 MB / 452.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.3231, allocations: 9.534 MB / 462 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.3603, allocations: 30.5 MB / 492.5 MB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/0.3726, allocations: 4.387 MB / 496.8 MB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/0.3759, allocations: 2.109 MB / 499 MB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/0.376, allocations: 23.94 kB / 499 MB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.376, allocations: 42.56 kB / 499 MB, free: 5.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/0.376, allocations: 0 / 499 MB, free: 5.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04819/0.4242, allocations: 18.47 MB / 0.5054 GB, free: 2.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002819/0.4271, allocations: 3.235 MB / 0.5085 GB, free: 15.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004378/0.4315, allocations: 2.996 MB / 0.5114 GB, free: 12.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00048/0.432, allocations: 49.67 kB / 0.5115 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.4337, allocations: 2.163 MB / 0.5136 GB, free: 9.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.4347, allocations: 0.5854 MB / 0.5142 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.4363, allocations: 1.012 MB / 0.5152 GB, free: 8.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4365, allocations: 309 kB / 0.5155 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004049/0.4405, allocations: 2.574 MB / 0.518 GB, free: 5.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006929/0.4475, allocations: 5.533 MB / 0.5234 GB, free: 14.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.4594, allocations: 8.517 MB / 0.5317 GB, free: 4.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.4595, allocations: 28 kB / 0.5317 GB, free: 4.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.2245/0.684, allocations: 9.872 MB / 0.5414 GB, free: 120.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.6841, allocations: 51.06 kB / 0.5414 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01089/0.695, allocations: 5.106 MB / 0.5464 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008323/0.7034, allocations: 2.35 MB / 0.5487 GB, free: 119.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/0.7071, allocations: 1.231 MB / 0.5499 GB, free: 119.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006632/0.7137, allocations: 8.698 MB / 0.5584 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/0.7186, allocations: 0.5632 MB / 0.5589 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007946/0.7194, allocations: 315.9 kB / 0.5592 GB, free: 110.6 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.002244/0.7217, allocations: 1.413 MB / 0.5606 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.7222, allocations: 267.2 kB / 0.5609 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.7229, allocations: 415.2 kB / 0.5613 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01025/0.7332, allocations: 5.004 MB / 0.5662 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.7332, allocations: 11.98 kB / 0.5662 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.7333, allocations: 11.92 kB / 0.5662 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.7397, allocations: 5.351 MB / 0.5714 GB, free: 98.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.7398, allocations: 2.297 kB / 0.5714 GB, free: 98.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.7414, allocations: 376.2 kB / 0.5718 GB, free: 98.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007976/0.7494, allocations: 2.384 MB / 0.5741 GB, free: 95.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/0.7498, allocations: 51.94 kB / 0.5741 GB, free: 95.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007116/0.7569, allocations: 9.442 MB / 0.5834 GB, free: 85.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001317/0.7583, allocations: 3.074 MB / 0.5864 GB, free: 82.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.7729, allocations: 8.789 MB / 0.5949 GB, free: 73.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/0.7737, allocations: 332.6 kB / 0.5953 GB, free: 73.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/0.7742, allocations: 47.28 kB / 0.5953 GB, free: 73.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.7763, allocations: 311.4 kB / 0.5956 GB, free: 72.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/0.7767, allocations: 107.6 kB / 0.5957 GB, free: 72.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.7769, allocations: 55.8 kB / 0.5958 GB, free: 72.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.7792, allocations: 1.871 MB / 0.5976 GB, free: 70.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7792, allocations: 1.859 kB / 0.5976 GB, free: 70.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003988/0.7832, allocations: 0.9456 MB / 0.5985 GB, free: 69.86 MB / 462.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.01396/0.7972, allocations: 9.421 MB / 0.6077 GB, free: 60.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.8076, allocations: 7.265 MB / 0.6148 GB, free: 53.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8076, allocations: 4 kB / 0.6148 GB, free: 53.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005377/0.813, allocations: 3.652 MB / 0.6184 GB, free: 49.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.815, allocations: 311.6 kB / 0.6187 GB, free: 48.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06083/0.8758, allocations: 45.2 MB / 0.6628 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.8783, allocations: 2.286 MB / 0.6651 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004079/0.8824, allocations: 1.663 MB / 0.6667 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/0.8844, allocations: 1.163 MB / 0.6678 GB, free: 10.27 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.8844, allocations: 0 / 0.6678 GB, free: 10.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5245/1.409, allocations: 62.57 MB / 0.7289 GB, free: 12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.34/21.75, allocations: 8.688 kB / 0.7289 GB, free: 12 MB / 0.5294 GB (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.1.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