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.001332/0.001332, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001483/0.001483, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.812 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 51.92 kB / 378.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2936, allocations: 53.36 MB / 431.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008681/0.3023, allocations: 6.136 MB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.3092, allocations: 2.94 MB / 440.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.3106, allocations: 39.81 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.3128, allocations: 0.6612 MB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.3172, allocations: 1.401 MB / 443 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3184, allocations: 499.1 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004987/0.3234, allocations: 3.206 MB / 446.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.3246, allocations: 492.5 kB / 447.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.3262, allocations: 0.8017 MB / 448 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.3284, allocations: 1.339 MB / 449.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.3289, allocations: 132 kB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.3309, allocations: 0.8501 MB / 450.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.3323, allocations: 1.098 MB / 451.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.334, allocations: 0.8807 MB / 452.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.3392, allocations: 4.034 MB / 456.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3392, allocations: 0 / 456.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3392, allocations: 0 / 456.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001249/0.3393, allocations: 0 / 456.3 MB, free: 14.08 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.007317/0.3467, allocations: 3.203 MB / 459.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3467, allocations: 11.97 kB / 459.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.922e-05/0.3468, allocations: 54.94 kB / 459.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005407/0.3473, allocations: 437.4 kB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008372/0.3557, allocations: 2.046 MB / 462.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.3602, allocations: 2.006 MB / 464.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3603, allocations: 114.6 kB / 464.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.3615, allocations: 303.5 kB / 464.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.3775, allocations: 8.219 MB / 472.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-05/0.3776, allocations: 43.69 kB / 472.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.3779, allocations: 75.83 kB / 472.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002243/0.3801, allocations: 1.397 MB / 474.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.3991, allocations: 9.588 MB / 483.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03985/0.4389, allocations: 29.55 MB / 0.5013 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.4513, allocations: 3.877 MB / 0.5051 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.4546, allocations: 2.082 MB / 0.5072 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.4547, allocations: 11.94 kB / 0.5072 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.4547, allocations: 46.56 kB / 0.5072 GB, free: 13.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 5.79e-06/0.4547, allocations: 0 / 0.5072 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04828/0.503, allocations: 17.9 MB / 0.5247 GB, free: 11.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002697/0.5057, allocations: 3.024 MB / 0.5277 GB, free: 8.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.5108, allocations: 2.996 MB / 0.5306 GB, free: 5.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004203/0.5112, allocations: 45.69 kB / 0.5306 GB, free: 5.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/0.5131, allocations: 2.163 MB / 0.5327 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.5142, allocations: 0.5854 MB / 0.5333 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002265/0.5165, allocations: 1.012 MB / 0.5343 GB, free: 1.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5166, allocations: 313.2 kB / 0.5346 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2267/0.7433, allocations: 2.567 MB / 0.5371 GB, free: 102.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/0.7504, allocations: 5.524 MB / 0.5425 GB, free: 98.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009385/0.7598, allocations: 8.523 MB / 0.5508 GB, free: 91.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/0.7599, allocations: 27.25 kB / 0.5508 GB, free: 91.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01927/0.7792, allocations: 9.873 MB / 0.5605 GB, free: 85.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.7793, allocations: 48 kB / 0.5605 GB, free: 85.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01047/0.7897, allocations: 5.095 MB / 0.5655 GB, free: 80.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008399/0.7981, allocations: 2.353 MB / 0.5678 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.8025, allocations: 1.236 MB / 0.569 GB, free: 77.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007094/0.8096, allocations: 8.231 MB / 0.577 GB, free: 68.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/0.8154, allocations: 0.5655 MB / 0.5776 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/0.817, allocations: 319.9 kB / 0.5779 GB, free: 67.76 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.004155/0.8212, allocations: 1.415 MB / 0.5793 GB, free: 66.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/0.8223, allocations: 266 kB / 0.5795 GB, free: 66.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.8234, allocations: 415.2 kB / 0.5799 GB, free: 65.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01009/0.8335, allocations: 5.007 MB / 0.5848 GB, free: 60.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/0.8335, allocations: 4 kB / 0.5848 GB, free: 60.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.8335, allocations: 3.984 kB / 0.5848 GB, free: 60.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/0.8414, allocations: 4.828 MB / 0.5895 GB, free: 56.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.8414, allocations: 3.984 kB / 0.5896 GB, free: 56.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.843, allocations: 363.4 kB / 0.5899 GB, free: 55.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007435/0.8505, allocations: 2.394 MB / 0.5922 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000342/0.8508, allocations: 47.94 kB / 0.5923 GB, free: 53.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007712/0.8585, allocations: 8.983 MB / 0.6011 GB, free: 43.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001492/0.86, allocations: 2.868 MB / 0.6039 GB, free: 40.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/0.875, allocations: 8.766 MB / 0.6124 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008567/0.8759, allocations: 263.3 kB / 0.6127 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009057/0.8768, allocations: 39.92 kB / 0.6127 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/0.8791, allocations: 323.3 kB / 0.613 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.8796, allocations: 103.8 kB / 0.6131 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/0.8799, allocations: 59.62 kB / 0.6132 GB, free: 31.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002349/0.8822, allocations: 1.867 MB / 0.615 GB, free: 29.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8822, allocations: 3.828 kB / 0.615 GB, free: 29.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004058/0.8863, allocations: 0.9462 MB / 0.6159 GB, free: 28.35 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.01338/0.8997, allocations: 9.41 MB / 0.6251 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009668/0.9093, allocations: 6.762 MB / 0.6317 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9093, allocations: 0 / 0.6317 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00497/0.9143, allocations: 3.254 MB / 0.6349 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.9166, allocations: 321.3 kB / 0.6352 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08328/0.9999, allocations: 45.21 MB / 0.6794 GB, free: 6.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003893/1.004, allocations: 1.726 MB / 0.681 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004792/1.009, allocations: 1.659 MB / 0.6827 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002621/1.011, allocations: 1.167 MB / 0.6838 GB, free: 2.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/1.011, allocations: 0 / 0.6838 GB, free: 2.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/2.047, allocations: 65.5 MB / 0.7478 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/20.49, allocations: 2.062 kB / 0.7478 GB, free: 180.4 MB / 0.5294 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: 24.61549062409904]