Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.94 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007961/0.2577, allocations: 6.186 MB / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00614/0.2638, allocations: 2.94 MB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.2648, allocations: 39.81 kB / 440.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.2664, allocations: 0.6613 MB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.27, allocations: 1.394 MB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2711, allocations: 0.4951 MB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.276, allocations: 3.21 MB / 446 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.277, allocations: 496 kB / 446.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.2784, allocations: 0.7979 MB / 447.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.2805, allocations: 1.335 MB / 448.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.2808, allocations: 132 kB / 448.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.2826, allocations: 0.854 MB / 449.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.2838, allocations: 1.102 MB / 450.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.2849, allocations: 0.8807 MB / 451.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.2899, allocations: 4.03 MB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2899, allocations: 0 / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2899, allocations: 0 / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.456e-05/0.2899, allocations: 0 / 455.6 MB, free: 14 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.007654/0.2976, allocations: 3.199 MB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.2977, allocations: 8.031 kB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006669/0.2983, allocations: 445.4 kB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008873/0.3072, allocations: 2.043 MB / 461.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.3118, allocations: 2.006 MB / 463.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.3119, allocations: 118.6 kB / 463.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.3133, allocations: 295.5 kB / 463.7 MB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.3328, allocations: 8.219 MB / 471.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.422e-05/0.3329, allocations: 35.7 kB / 472 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.3332, allocations: 83.88 kB / 472.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002288/0.3355, allocations: 1.393 MB / 473.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.3544, allocations: 9.565 MB / 483 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03827/0.3927, allocations: 29.56 MB / 0.5006 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.4048, allocations: 3.873 MB / 0.5043 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/0.4082, allocations: 2.086 MB / 0.5064 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.4083, allocations: 16 kB / 0.5064 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.4084, allocations: 42.56 kB / 0.5064 GB, free: 13.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.937e-06/0.4084, allocations: 0 / 0.5064 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04754/0.4559, allocations: 17.91 MB / 0.5239 GB, free: 11.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002684/0.4586, allocations: 3.017 MB / 0.5269 GB, free: 8.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.4628, allocations: 3.17 MB / 0.53 GB, free: 4.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005193/0.4633, allocations: 41.7 kB / 0.53 GB, free: 4.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.465, allocations: 2.171 MB / 0.5321 GB, free: 2.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009004/0.4659, allocations: 0.5854 MB / 0.5327 GB, free: 2.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/0.4675, allocations: 1.012 MB / 0.5337 GB, free: 1.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4676, allocations: 309.3 kB / 0.534 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.219/0.6866, allocations: 2.572 MB / 0.5365 GB, free: 101.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006894/0.6935, allocations: 5.529 MB / 0.5419 GB, free: 96.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008339/0.7018, allocations: 8.515 MB / 0.5502 GB, free: 90.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/0.7019, allocations: 31.28 kB / 0.5502 GB, free: 90.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01699/0.7189, allocations: 9.854 MB / 0.5599 GB, free: 84.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.719, allocations: 53.56 kB / 0.5599 GB, free: 84.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009548/0.7285, allocations: 5.098 MB / 0.5649 GB, free: 80.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007818/0.7364, allocations: 2.355 MB / 0.5672 GB, free: 77.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004188/0.7406, allocations: 1.232 MB / 0.5684 GB, free: 76.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00646/0.747, allocations: 8.247 MB / 0.5764 GB, free: 68.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/0.7518, allocations: 0.5622 MB / 0.577 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009622/0.7528, allocations: 315.9 kB / 0.5773 GB, free: 67.25 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.002746/0.7555, allocations: 1.411 MB / 0.5787 GB, free: 65.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006822/0.7562, allocations: 270.2 kB / 0.5789 GB, free: 65.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00091/0.7571, allocations: 411.2 kB / 0.5793 GB, free: 65.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009745/0.7669, allocations: 5.006 MB / 0.5842 GB, free: 60.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.7669, allocations: 4 kB / 0.5842 GB, free: 60.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.7669, allocations: 7.984 kB / 0.5842 GB, free: 60.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008368/0.7753, allocations: 4.818 MB / 0.5889 GB, free: 55.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.7753, allocations: 3.984 kB / 0.5889 GB, free: 55.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.7769, allocations: 367.4 kB / 0.5893 GB, free: 55.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007487/0.7844, allocations: 2.394 MB / 0.5916 GB, free: 52.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000347/0.7848, allocations: 47.95 kB / 0.5917 GB, free: 52.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007457/0.7922, allocations: 8.988 MB / 0.6004 GB, free: 43.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001467/0.7937, allocations: 2.867 MB / 0.6032 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.8079, allocations: 8.767 MB / 0.6118 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/0.8087, allocations: 263.5 kB / 0.612 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/0.8093, allocations: 39.36 kB / 0.6121 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.8115, allocations: 323.4 kB / 0.6124 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/0.812, allocations: 107.8 kB / 0.6125 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/0.8122, allocations: 51.95 kB / 0.6125 GB, free: 30.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002781/0.8149, allocations: 1.868 MB / 0.6144 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8149, allocations: 0 / 0.6144 GB, free: 28.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004496/0.8194, allocations: 0.9422 MB / 0.6153 GB, free: 27.91 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.01421/0.8337, allocations: 9.413 MB / 0.6245 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01015/0.8438, allocations: 6.766 MB / 0.6311 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8438, allocations: 0 / 0.6311 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005375/0.8492, allocations: 3.26 MB / 0.6343 GB, free: 8.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.8518, allocations: 302.7 kB / 0.6346 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08008/0.9319, allocations: 45.22 MB / 0.6787 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.9341, allocations: 1.722 MB / 0.6804 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003683/0.9378, allocations: 1.659 MB / 0.682 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/0.9396, allocations: 1.167 MB / 0.6832 GB, free: 1.879 MB / 494.1 MB Notification: Performance of SimCode: time 8.02e-07/0.9396, allocations: 0 / 0.6832 GB, free: 1.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4371/1.377, allocations: 65.88 MB / 0.7475 GB, free: 180 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/17.29, allocations: 5.812 kB / 0.7475 GB, free: 180 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 20.267890599003294]