Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_0_0_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.001219/0.001219, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001271/0.001271, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009932/0.0009932, allocations: 47.08 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.09031, allocations: 49.44 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01342/0.1038, allocations: 13.96 MB / 363.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007654/0.1114, allocations: 4.312 MB / 367.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.1133, allocations: 51.88 kB / 367.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.1147, allocations: 0.6269 MB / 368.5 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.1174, allocations: 1.305 MB / 369.8 MB, free: 420 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1677/0.2851, allocations: 458 kB / 370.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00507/0.2902, allocations: 4.117 MB / 374.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.2909, allocations: 423.6 kB / 374.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.2919, allocations: 0.6857 MB / 375.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.2936, allocations: 1.31 MB / 376.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.2939, allocations: 82.94 kB / 376.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.2956, allocations: 0.9642 MB / 377.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009847/0.2966, allocations: 1.058 MB / 378.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009417/0.2975, allocations: 1.198 MB / 380 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.3016, allocations: 3.858 MB / 383.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3016, allocations: 0 / 383.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3016, allocations: 1 kB / 383.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.374e-05/0.3017, allocations: 4 kB / 383.9 MB, free: 7.879 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.006386/0.3081, allocations: 3.233 MB / 387.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3081, allocations: 9.188 kB / 387.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004624/0.3086, allocations: 433.3 kB / 387.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007713/0.3163, allocations: 1.909 MB / 389.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.3205, allocations: 2.235 MB / 391.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/0.3206, allocations: 117.7 kB / 391.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008474/0.3214, allocations: 303.7 kB / 392.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.335, allocations: 8.218 MB / 400.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.636e-05/0.3351, allocations: 36.22 kB / 400.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.3354, allocations: 77.25 kB / 400.5 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.3376, allocations: 1.404 MB / 401.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/0.3539, allocations: 9.538 MB / 411.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/0.3867, allocations: 30.54 MB / 441.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.3987, allocations: 4.371 MB / 446.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.4016, allocations: 2.116 MB / 448.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.4017, allocations: 23.84 kB / 448.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.4017, allocations: 46.55 kB / 448.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.607e-06/0.4017, allocations: 0 / 448.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04658/0.4483, allocations: 18.31 MB / 466.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002351/0.4507, allocations: 3.051 MB / 469.9 MB, free: 6.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005798/0.4565, allocations: 3.003 MB / 472.9 MB, free: 3.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006463/0.4572, allocations: 41.7 kB / 472.9 MB, free: 3.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.4589, allocations: 2.085 MB / 475 MB, free: 1.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.46, allocations: 0.5597 MB / 475.5 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/0.4624, allocations: 1.013 MB / 476.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.4625, allocations: 301.1 kB / 476.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/0.4666, allocations: 2.57 MB / 479.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00609/0.4727, allocations: 5.525 MB / 484.9 MB, free: 5.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.4829, allocations: 8.522 MB / 493.5 MB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.483, allocations: 39.92 kB / 493.5 MB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02062/0.5036, allocations: 9.852 MB / 0.4916 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.5037, allocations: 48 kB / 0.4916 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01161/0.5154, allocations: 5.11 MB / 0.4966 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008645/0.524, allocations: 2.351 MB / 0.4989 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/0.5283, allocations: 1.236 MB / 0.5001 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008351/0.5366, allocations: 8.149 MB / 0.5081 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/0.5414, allocations: 0.5674 MB / 0.5086 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008124/0.5422, allocations: 315.9 kB / 0.5089 GB, free: 15.57 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.002686/0.5449, allocations: 1.409 MB / 0.5103 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000619/0.5455, allocations: 260.7 kB / 0.5105 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.5464, allocations: 415.3 kB / 0.5109 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01148/0.5579, allocations: 5.01 MB / 0.5158 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/0.558, allocations: 4 kB / 0.5158 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-05/0.558, allocations: 11.91 kB / 0.5158 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.5684, allocations: 5.365 MB / 0.5211 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.5685, allocations: 7.938 kB / 0.5211 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.5703, allocations: 363.4 kB / 0.5214 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008441/0.5788, allocations: 2.39 MB / 0.5238 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/0.5793, allocations: 47.94 kB / 0.5238 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1685/0.7477, allocations: 8.809 MB / 0.5324 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001359/0.7491, allocations: 2.886 MB / 0.5352 GB, free: 142 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.7657, allocations: 8.767 MB / 0.5438 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/0.7665, allocations: 325.4 kB / 0.5441 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/0.7669, allocations: 42.14 kB / 0.5441 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.7689, allocations: 318.5 kB / 0.5445 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/0.7694, allocations: 100.1 kB / 0.5445 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.7696, allocations: 53.66 kB / 0.5446 GB, free: 139.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002676/0.7722, allocations: 1.876 MB / 0.5464 GB, free: 139 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7723, allocations: 0 / 0.5464 GB, free: 139 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003838/0.7761, allocations: 0.9589 MB / 0.5474 GB, free: 138.9 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.01403/0.7901, allocations: 9.428 MB / 0.5566 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009757/0.7999, allocations: 7.236 MB / 0.5636 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8, allocations: 0 / 0.5636 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005266/0.8052, allocations: 3.641 MB / 0.5672 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.8076, allocations: 294.3 kB / 0.5675 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08274/0.8903, allocations: 49.04 MB / 0.6154 GB, free: 71.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.8933, allocations: 2.285 MB / 0.6176 GB, free: 69.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004521/0.8978, allocations: 1.663 MB / 0.6192 GB, free: 67.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.8999, allocations: 1.167 MB / 0.6204 GB, free: 66.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.8999, allocations: 4 kB / 0.6204 GB, free: 66.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8757/1.776, allocations: 64.14 MB / 0.683 GB, free: 138.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.776, allocations: 256.5 kB / 0.6832 GB, free: 138.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/5.032, allocations: 0.5 kB / 0.6832 GB, free: 138.2 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches