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.00122/0.00122, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001462/0.001462, allocations: 170.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8976/0.8976, allocations: 177.2 MB / 204.3 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 2.394e-06/2.394e-06, allocations: 3.938 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.334e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005755/0.005788, allocations: 6.18 MB / 330.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.01116, allocations: 2.948 MB / 333.7 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009579/0.01212, allocations: 35.88 kB / 333.7 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.01358, allocations: 0.6962 MB / 334.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.0162, allocations: 1.435 MB / 335.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.01704, allocations: 0.5457 MB / 336.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003213/0.02025, allocations: 3.875 MB / 340.3 MB, free: 176 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/0.02104, allocations: 0.67 MB / 341 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.02225, allocations: 1.294 MB / 342.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.02362, allocations: 1.594 MB / 343.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.02379, allocations: 140 kB / 344 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.02507, allocations: 0.8928 MB / 344.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.02587, allocations: 1.153 MB / 346 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.02641, allocations: 0.6695 MB / 346.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.02974, allocations: 4.084 MB / 350.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.02974, allocations: 0 / 350.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.02975, allocations: 0 / 350.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.02977, allocations: 0 / 350.8 MB, free: 5.641 MB / 314.7 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.004696/0.03447, allocations: 3.319 MB / 354.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.03453, allocations: 12.03 kB / 354.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.03487, allocations: 433.4 kB / 354.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.03965, allocations: 2.199 MB / 356.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.04185, allocations: 1.665 MB / 358.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.04192, allocations: 114.8 kB / 358.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005736/0.04249, allocations: 299.5 kB / 358.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009454/0.05195, allocations: 8.262 MB / 367.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.052, allocations: 35.7 kB / 367.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.05218, allocations: 87.81 kB / 367.2 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00131/0.05349, allocations: 1.405 MB / 368.6 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.06549, allocations: 9.643 MB / 378.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02803/0.09352, allocations: 29.84 MB / 408.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007113/0.1006, allocations: 3.985 MB / 412.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.1026, allocations: 2.077 MB / 414.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.1027, allocations: 13.06 kB / 414.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1027, allocations: 54.5 kB / 414.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 4.689e-06/0.1027, allocations: 0 / 414.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.03004/0.1327, allocations: 18.33 MB / 432.5 MB, free: 2.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002154/0.1349, allocations: 3.02 MB / 435.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004533/0.1394, allocations: 3.478 MB / 439 MB, free: 11.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006367/0.1401, allocations: 49.89 kB / 439.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.1412, allocations: 2.144 MB / 441.2 MB, free: 9.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008578/0.142, allocations: 0.5892 MB / 441.8 MB, free: 8.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.1433, allocations: 0.9963 MB / 442.8 MB, free: 7.531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.1433, allocations: 301.1 kB / 443.1 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.1462, allocations: 2.73 MB / 445.8 MB, free: 4.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2017/0.3479, allocations: 5.67 MB / 451.5 MB, free: 109.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008/0.3559, allocations: 8.768 MB / 460.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/0.356, allocations: 27.12 kB / 460.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01996/0.376, allocations: 12.11 MB / 472.4 MB, free: 99.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.3761, allocations: 48 kB / 472.5 MB, free: 99.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/0.3879, allocations: 7.277 MB / 479.7 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.3983, allocations: 4.721 MB / 484.5 MB, free: 87.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.4013, allocations: 1.251 MB / 485.7 MB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009554/0.4109, allocations: 12.1 MB / 497.8 MB, free: 73.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/0.4156, allocations: 0.7197 MB / 498.5 MB, free: 72.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/0.4163, allocations: 312 kB / 498.8 MB, free: 72.38 MB / 410.7 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.001588/0.4178, allocations: 1.417 MB / 0.4885 GB, free: 71.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/0.4183, allocations: 267.9 kB / 0.4888 GB, free: 70.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.4186, allocations: 415.2 kB / 0.4892 GB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005776/0.4244, allocations: 4.998 MB / 0.4941 GB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.4244, allocations: 7.984 kB / 0.4941 GB, free: 65.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4244, allocations: 3.984 kB / 0.4941 GB, free: 65.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/0.4299, allocations: 4.925 MB / 0.4989 GB, free: 60.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4299, allocations: 3.984 kB / 0.4989 GB, free: 60.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009089/0.4308, allocations: 367.4 kB / 0.4992 GB, free: 60.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/0.4349, allocations: 2.389 MB / 0.5016 GB, free: 57.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.435, allocations: 52.8 kB / 0.5016 GB, free: 57.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/0.4397, allocations: 8.999 MB / 0.5104 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007589/0.4405, allocations: 2.857 MB / 0.5132 GB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008021/0.4485, allocations: 8.768 MB / 0.5218 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/0.4491, allocations: 311.1 kB / 0.522 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.4493, allocations: 31.98 kB / 0.5221 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.4505, allocations: 399.3 kB / 0.5225 GB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.4508, allocations: 111.5 kB / 0.5226 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-05/0.4509, allocations: 56.91 kB / 0.5226 GB, free: 35.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001696/0.4526, allocations: 2.117 MB / 0.5247 GB, free: 33.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4526, allocations: 3.938 kB / 0.5247 GB, free: 33.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002724/0.4553, allocations: 1.148 MB / 0.5258 GB, free: 32.36 MB / 410.7 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.008208/0.4635, allocations: 9.419 MB / 0.535 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00659/0.4701, allocations: 6.984 MB / 0.5418 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4701, allocations: 0 / 0.5418 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00288/0.473, allocations: 3.268 MB / 0.545 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.4748, allocations: 317.9 kB / 0.5453 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05457/0.5293, allocations: 48.46 MB / 0.5926 GB, free: 7.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.5308, allocations: 1.718 MB / 0.5943 GB, free: 5.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002689/0.5335, allocations: 1.679 MB / 0.596 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.5349, allocations: 1.18 MB / 0.5971 GB, free: 2.816 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5349, allocations: 0 / 0.5971 GB, free: 2.816 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2141/0.749, allocations: 72.4 MB / 0.6678 GB, free: 127.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.76, allocations: 7.656 kB / 0.6678 GB, free: 127.3 MB / 474.7 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/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: 12.798415897414088]