Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.0007953/0.0007953, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001171/0.001171, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8817/0.8817, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.213e-05, allocations: 7.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.00795/0.007972, allocations: 6.767 MB / 331.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.01305, allocations: 3.161 MB / 334.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.01366, allocations: 43.81 kB / 334.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.01502, allocations: 1.059 MB / 335.6 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.01704, allocations: 1.388 MB / 337 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.01787, allocations: 0.5844 MB / 337.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.02029, allocations: 2.974 MB / 340.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.02179, allocations: 1.466 MB / 342 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.02325, allocations: 1.286 MB / 343.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.02483, allocations: 1.329 MB / 344.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.02524, allocations: 148 kB / 344.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.02647, allocations: 0.8228 MB / 345.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.02727, allocations: 1.126 MB / 346.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007035/0.02798, allocations: 0.6734 MB / 347.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.03133, allocations: 4.103 MB / 351.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.03133, allocations: 4 kB / 351.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.03133, allocations: 0 / 351.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.03144, allocations: 0 / 351.5 MB, free: 4.816 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.005311/0.03675, allocations: 3.021 MB / 354.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.03681, allocations: 15.98 kB / 354.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004671/0.03728, allocations: 466.4 kB / 355 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.04044, allocations: 1.653 MB / 356.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.04211, allocations: 1.395 MB / 358 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.04219, allocations: 131.1 kB / 358.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.04242, allocations: 163.9 kB / 358.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005752/0.04817, allocations: 6.538 MB / 364.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.04822, allocations: 31.7 kB / 364.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.04838, allocations: 87.83 kB / 364.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00145/0.04983, allocations: 1.468 MB / 366.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006559/0.05639, allocations: 5.83 MB / 372.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.07628, allocations: 24.89 MB / 397.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.0797, allocations: 2.067 MB / 399.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00098/0.08068, allocations: 1.133 MB / 400.3 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004604/0.08528, allocations: 4.387 MB / 404.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.08531, allocations: 50.5 kB / 404.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.196e-06/0.08531, allocations: 0 / 404.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01408/0.09939, allocations: 10.04 MB / 414.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.09947, allocations: 149 kB / 415 MB, free: 3.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.1022, allocations: 3.022 MB / 418 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.1023, allocations: 41.7 kB / 418 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009185/0.1032, allocations: 2.105 MB / 420.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.1034, allocations: 440.7 kB / 420.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006751/0.1041, allocations: 0.8376 MB / 421.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.1042, allocations: 301.1 kB / 421.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.1059, allocations: 1.448 MB / 423.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.1085, allocations: 4.065 MB / 427.2 MB, free: 6.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/0.1129, allocations: 5.96 MB / 433.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/0.1129, allocations: 28 kB / 433.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006491/0.1194, allocations: 6.028 MB / 439.2 MB, free: 8.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.1194, allocations: 51.06 kB / 439.3 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-05/0.1195, allocations: 92 kB / 439.4 MB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.1209, allocations: 0.8207 MB / 440.2 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.1225, allocations: 0.9517 MB / 441.1 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/0.1271, allocations: 4.536 MB / 445.7 MB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.1288, allocations: 295.5 kB / 446 MB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.1291, allocations: 264 kB / 446.2 MB, free: 1.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001666/0.1308, allocations: 1.364 MB / 447.6 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.1311, allocations: 238.4 kB / 447.8 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1872/0.3182, allocations: 2.125 MB / 449.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.3183, allocations: 12.28 kB / 449.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3183, allocations: 4 kB / 449.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3183, allocations: 5.391 kB / 450 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/0.3239, allocations: 4.843 MB / 454.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3239, allocations: 3.812 kB / 454.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.3243, allocations: 155.9 kB / 455 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.3253, allocations: 0.6766 MB / 455.6 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.3254, allocations: 28.23 kB / 455.7 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.3282, allocations: 4.035 MB / 459.7 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3282, allocations: 0 / 459.7 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.3314, allocations: 4.064 MB / 463.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.3317, allocations: 246.7 kB / 464 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3318, allocations: 16 kB / 464 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.3324, allocations: 103.8 kB / 464.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3325, allocations: 64.33 kB / 464.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.3325, allocations: 33.11 kB / 464.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001314/0.3338, allocations: 1.814 MB / 466 MB, free: 104.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3338, allocations: 6 kB / 466 MB, free: 104.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001898/0.3357, allocations: 0.7441 MB / 466.8 MB, free: 104 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003575/0.3393, allocations: 4.752 MB / 471.5 MB, free: 99.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.3422, allocations: 3.372 MB / 474.9 MB, free: 96.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3422, allocations: 0 / 474.9 MB, free: 96.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007057/0.3429, allocations: 0.9554 MB / 475.9 MB, free: 95.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.3438, allocations: 265.3 kB / 476.1 MB, free: 94.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/0.3665, allocations: 30.32 MB / 0.4946 GB, free: 61.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.3676, allocations: 1.663 MB / 0.4962 GB, free: 59.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001496/0.3691, allocations: 1.327 MB / 0.4975 GB, free: 58.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000746/0.3698, allocations: 1.106 MB / 0.4986 GB, free: 57.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3698, allocations: 0 / 0.4986 GB, free: 57.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.4217, allocations: 46.68 MB / 0.5441 GB, free: 10.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.581, allocations: 21.5 kB / 0.5442 GB, free: 10.84 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-08 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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: 10.438034708611667]