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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0022/0.0022, allocations: 221 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 63.84 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2597, allocations: 53.39 MB / 432 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008644/0.2683, allocations: 7.015 MB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00615/0.2745, allocations: 3.158 MB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.2753, allocations: 35.88 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2768, allocations: 0.6846 MB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.2802, allocations: 1.389 MB / 444.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2814, allocations: 0.4991 MB / 444.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.2863, allocations: 3.203 MB / 447.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2874, allocations: 498.3 kB / 448.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.2889, allocations: 0.7978 MB / 449.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.2908, allocations: 1.339 MB / 450.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.2911, allocations: 128 kB / 450.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.2931, allocations: 0.9788 MB / 451.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.2943, allocations: 1.09 MB / 452.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.2957, allocations: 1.219 MB / 454 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005342/0.301, allocations: 4.026 MB / 458 MB, free: 12.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3011, allocations: 0 / 458 MB, free: 12.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3011, allocations: 0 / 458 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.353e-05/0.3011, allocations: 0 / 458 MB, free: 12.57 MB / 366.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.007071/0.3082, allocations: 3.207 MB / 461.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3083, allocations: 12.03 kB / 461.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.273e-05/0.3083, allocations: 50.94 kB / 461.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005208/0.3088, allocations: 441.4 kB / 461.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009101/0.3179, allocations: 2.047 MB / 463.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/0.3221, allocations: 1.994 MB / 465.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3223, allocations: 110.6 kB / 465.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000962/0.3233, allocations: 303.5 kB / 466.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.3404, allocations: 8.219 MB / 474.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.542e-05/0.3405, allocations: 43.69 kB / 474.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.3408, allocations: 79.83 kB / 474.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/0.3433, allocations: 1.393 MB / 475.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.3625, allocations: 9.592 MB / 485.5 MB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03948/0.4019, allocations: 30.44 MB / 0.5038 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.414, allocations: 3.893 MB / 0.5076 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/0.4171, allocations: 2.074 MB / 0.5097 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.4171, allocations: 8 kB / 0.5097 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.4172, allocations: 58.48 kB / 0.5097 GB, free: 11.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.657e-06/0.4172, allocations: 0 / 0.5097 GB, free: 11.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.0502/0.4674, allocations: 17.86 MB / 0.5272 GB, free: 9.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002835/0.4702, allocations: 3.021 MB / 0.5301 GB, free: 5.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.4746, allocations: 3.003 MB / 0.533 GB, free: 2.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004794/0.4751, allocations: 41.7 kB / 0.5331 GB, free: 2.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.4768, allocations: 2.167 MB / 0.5352 GB, free: 480 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1954/0.6722, allocations: 0.578 MB / 0.5358 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002642/0.6748, allocations: 1.018 MB / 0.5368 GB, free: 102.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.556e-05/0.6749, allocations: 303.9 kB / 0.537 GB, free: 102.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003669/0.6785, allocations: 2.575 MB / 0.5396 GB, free: 101.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.683, allocations: 5.528 MB / 0.545 GB, free: 97.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006695/0.6897, allocations: 8.512 MB / 0.5533 GB, free: 90.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-05/0.6897, allocations: 35.09 kB / 0.5533 GB, free: 90.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01718/0.7069, allocations: 9.868 MB / 0.5629 GB, free: 84.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.707, allocations: 48 kB / 0.563 GB, free: 84.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01037/0.7173, allocations: 5.096 MB / 0.568 GB, free: 79.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008169/0.7255, allocations: 2.351 MB / 0.5703 GB, free: 76.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/0.7293, allocations: 1.228 MB / 0.5715 GB, free: 75.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.7355, allocations: 8.278 MB / 0.5795 GB, free: 66.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/0.7401, allocations: 0.562 MB / 0.5801 GB, free: 66.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004686/0.7406, allocations: 315.9 kB / 0.5804 GB, free: 65.91 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.001584/0.7422, allocations: 1.412 MB / 0.5818 GB, free: 64.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.7426, allocations: 272.2 kB / 0.582 GB, free: 64.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007067/0.7433, allocations: 418.7 kB / 0.5824 GB, free: 64.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01005/0.7533, allocations: 5.005 MB / 0.5873 GB, free: 59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.7534, allocations: 7.938 kB / 0.5873 GB, free: 58.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/0.7534, allocations: 11.95 kB / 0.5873 GB, free: 58.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006498/0.7599, allocations: 5.281 MB / 0.5925 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7599, allocations: 0 / 0.5925 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.7615, allocations: 371.4 kB / 0.5928 GB, free: 53.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007675/0.7691, allocations: 2.376 MB / 0.5952 GB, free: 50.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/0.7696, allocations: 51.94 kB / 0.5952 GB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.7765, allocations: 9.032 MB / 0.604 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001266/0.7778, allocations: 2.868 MB / 0.6068 GB, free: 38.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.7918, allocations: 8.771 MB / 0.6154 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.7927, allocations: 260.2 kB / 0.6157 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/0.7932, allocations: 43.98 kB / 0.6157 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/0.7953, allocations: 311.4 kB / 0.616 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/0.7957, allocations: 107.7 kB / 0.6161 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.7958, allocations: 55.78 kB / 0.6161 GB, free: 28.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002219/0.798, allocations: 1.875 MB / 0.618 GB, free: 26.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.798, allocations: 0 / 0.618 GB, free: 26.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003744/0.8018, allocations: 0.9477 MB / 0.6189 GB, free: 25.89 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.01384/0.8156, allocations: 9.424 MB / 0.6281 GB, free: 16.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009613/0.8252, allocations: 6.76 MB / 0.6347 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8252, allocations: 3.938 kB / 0.6347 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005284/0.8305, allocations: 3.253 MB / 0.6379 GB, free: 6.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.8327, allocations: 313.6 kB / 0.6382 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08198/0.9147, allocations: 45.24 MB / 0.6824 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.9172, allocations: 2.29 MB / 0.6846 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003967/0.9212, allocations: 1.659 MB / 0.6862 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/0.9232, allocations: 1.163 MB / 0.6874 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/0.9232, allocations: 0 / 0.6874 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4697/1.393, allocations: 67.26 MB / 0.753 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.51/20.91, allocations: 7.5 kB / 0.753 GB, free: 181.1 MB / 0.5294 GB " [Timeout remaining time 639] (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 --stepSize=0.0009996 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.804875069996342]