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.001691/0.001691, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.001406/0.001406, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.664/1.664, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001495/0.001495, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 53.34 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.2309/0.3467, allocations: 6.974 MB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005475/0.3522, allocations: 3.135 MB / 436.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3536, allocations: 35.56 kB / 436.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.3549, allocations: 0.6815 MB / 437.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.3582, allocations: 1.38 MB / 438.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.3591, allocations: 0.4996 MB / 439 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004894/0.364, allocations: 3.204 MB / 442.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.3645, allocations: 380.1 kB / 442.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009579/0.3655, allocations: 0.801 MB / 443.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.3675, allocations: 1.333 MB / 444.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.3677, allocations: 129.9 kB / 444.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.3694, allocations: 0.9744 MB / 445.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.3704, allocations: 1.093 MB / 446.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.3713, allocations: 1.218 MB / 448.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005175/0.3765, allocations: 4.027 MB / 452.2 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3765, allocations: 1.469 kB / 452.2 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3765, allocations: 4 kB / 452.2 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.58e-05/0.3765, allocations: 0 / 452.2 MB, free: 348 kB / 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.007863/0.3844, allocations: 3.275 MB / 455.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3845, allocations: 9.531 kB / 455.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005727/0.385, allocations: 436 kB / 455.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.3958, allocations: 2.042 MB / 457.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005276/0.401, allocations: 2.057 MB / 460 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.4011, allocations: 114.6 kB / 460.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009007/0.402, allocations: 300.7 kB / 460.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.4194, allocations: 8.221 MB / 468.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.908e-05/0.4194, allocations: 35.7 kB / 468.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.4197, allocations: 76.5 kB / 468.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.4223, allocations: 1.405 MB / 470.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.4431, allocations: 9.539 MB / 479.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04634/0.4895, allocations: 30.5 MB / 0.4982 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.5036, allocations: 4.341 MB / 0.5025 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.5072, allocations: 2.081 MB / 0.5045 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.326e-05/0.5073, allocations: 15.92 kB / 0.5045 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.5073, allocations: 50.48 kB / 0.5045 GB, free: 4.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.286e-06/0.5073, allocations: 0 / 0.5045 GB, free: 4.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.05372/0.561, allocations: 18.45 MB / 0.5226 GB, free: 2.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003035/0.5641, allocations: 3.228 MB / 0.5257 GB, free: 14.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005812/0.5699, allocations: 3.011 MB / 0.5287 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004671/0.5703, allocations: 41.7 kB / 0.5287 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/0.5725, allocations: 2.171 MB / 0.5308 GB, free: 9.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.5736, allocations: 0.5895 MB / 0.5314 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/0.5757, allocations: 1.008 MB / 0.5324 GB, free: 7.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5758, allocations: 305.1 kB / 0.5327 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004786/0.5806, allocations: 2.571 MB / 0.5352 GB, free: 4.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007429/0.5881, allocations: 5.525 MB / 0.5406 GB, free: 13.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/0.6001, allocations: 8.523 MB / 0.5489 GB, free: 3.727 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/0.6002, allocations: 32 kB / 0.5489 GB, free: 3.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02551/0.6257, allocations: 9.859 MB / 0.5586 GB, free: 9.801 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.6258, allocations: 52 kB / 0.5586 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01396/0.6398, allocations: 5.088 MB / 0.5636 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009939/0.6497, allocations: 2.356 MB / 0.5659 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004629/0.6544, allocations: 1.233 MB / 0.5671 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.6652, allocations: 8.702 MB / 0.5756 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/0.6709, allocations: 0.5654 MB / 0.5761 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009044/0.6719, allocations: 315.9 kB / 0.5764 GB, free: 6.895 MB / 494.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.003168/0.675, allocations: 1.418 MB / 0.5778 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.6757, allocations: 266.2 kB / 0.5781 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.6773, allocations: 411.2 kB / 0.5785 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01342/0.6907, allocations: 5.003 MB / 0.5833 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.6907, allocations: 4 kB / 0.5833 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.6907, allocations: 7.984 kB / 0.5834 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.7013, allocations: 5.366 MB / 0.5886 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.7013, allocations: 0 / 0.5886 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.7032, allocations: 367.4 kB / 0.5889 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/0.7132, allocations: 2.386 MB / 0.5913 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000695/0.7139, allocations: 43.95 kB / 0.5913 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.7261, allocations: 9.451 MB / 0.6005 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002826/0.729, allocations: 3.073 MB / 0.6035 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.7485, allocations: 8.756 MB / 0.6121 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007986/0.7493, allocations: 339.1 kB / 0.6124 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/0.7499, allocations: 31.98 kB / 0.6125 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/0.7525, allocations: 323.4 kB / 0.6128 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/0.7529, allocations: 111.7 kB / 0.6129 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/0.7531, allocations: 47.97 kB / 0.6129 GB, free: 452 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2227/0.9759, allocations: 1.87 MB / 0.6147 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9759, allocations: 0 / 0.6147 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007548/0.9834, allocations: 0.9446 MB / 0.6157 GB, free: 163.8 MB / 0.5137 GB 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.02069/1.004, allocations: 9.412 MB / 0.6249 GB, free: 162 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01528/1.019, allocations: 7.059 MB / 0.6317 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.019, allocations: 0 / 0.6317 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007091/1.026, allocations: 3.568 MB / 0.6352 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/1.03, allocations: 303.7 kB / 0.6355 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07045/1.1, allocations: 45.17 MB / 0.6796 GB, free: 120 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/1.103, allocations: 2.29 MB / 0.6819 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003621/1.106, allocations: 1.663 MB / 0.6835 GB, free: 116 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.108, allocations: 1.167 MB / 0.6846 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/1.108, allocations: 0 / 0.6846 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/1.223, allocations: 62.91 MB / 0.7461 GB, free: 52.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.31/20.53, allocations: 21.95 kB / 0.7461 GB, free: 52.27 MB / 0.5137 GB " [Timeout remaining time 639] (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: 23.73669947590679]