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.00116/0.00116, 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.001289/0.001289, allocations: 160.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.9035/0.9035, allocations: 177 MB / 204.1 MB, free: 5.734 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.903e-06/1.903e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.315e-05, allocations: 3.266 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006252/0.006275, allocations: 6.765 MB / 331.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.01091, allocations: 3.161 MB / 334.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008319/0.01174, allocations: 47.81 kB / 334.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.01321, allocations: 1.055 MB / 335.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.01567, allocations: 1.388 MB / 336.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009499/0.01662, allocations: 0.5922 MB / 337.5 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.01928, allocations: 2.974 MB / 340.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.02109, allocations: 1.458 MB / 342 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.02296, allocations: 1.286 MB / 343.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.02473, allocations: 1.333 MB / 344.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.02496, allocations: 152 kB / 344.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.02615, allocations: 0.8188 MB / 345.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009848/0.02713, allocations: 1.126 MB / 346.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.02771, allocations: 0.6734 MB / 347.4 MB, free: 8.941 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.03122, allocations: 4.103 MB / 351.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.03123, allocations: 0 / 351.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03123, allocations: 0 / 351.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.402e-05/0.03128, allocations: 7.875 kB / 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.003781/0.03506, allocations: 3.025 MB / 354.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.03511, allocations: 11.98 kB / 354.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/0.03546, allocations: 458.4 kB / 355 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.03867, allocations: 1.664 MB / 356.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.04088, allocations: 1.391 MB / 358 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.04096, allocations: 123.1 kB / 358.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.04124, allocations: 159.9 kB / 358.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007282/0.04852, allocations: 6.542 MB / 364.8 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.04858, allocations: 35.7 kB / 364.9 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.04875, allocations: 79.89 kB / 364.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.0502, allocations: 1.468 MB / 366.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007439/0.05764, allocations: 5.837 MB / 372.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.07852, allocations: 24.89 MB / 397.1 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/0.082, allocations: 2.075 MB / 399.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.08338, allocations: 1.129 MB / 400.3 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/0.0886, allocations: 4.379 MB / 404.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.08863, allocations: 58.44 kB / 404.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.096e-06/0.08864, allocations: 0 / 404.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01444/0.1031, allocations: 10.03 MB / 414.8 MB, free: 3.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.1031, allocations: 145 kB / 414.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.1058, allocations: 3.029 MB / 418 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.413e-05/0.1059, allocations: 37.7 kB / 418 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/0.1069, allocations: 2.113 MB / 420.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.1072, allocations: 440.7 kB / 420.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000963/0.1082, allocations: 0.822 MB / 421.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.1082, allocations: 309.1 kB / 421.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.1096, allocations: 1.445 MB / 423.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/0.1125, allocations: 4.065 MB / 427.2 MB, free: 6.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.1173, allocations: 5.957 MB / 433.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.734e-05/0.1174, allocations: 31.94 kB / 433.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.007397/0.1248, allocations: 6.027 MB / 439.2 MB, free: 8.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.1248, allocations: 47.94 kB / 439.3 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.933e-05/0.1249, allocations: 95.94 kB / 439.3 MB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.1262, allocations: 0.8279 MB / 440.2 MB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.128, allocations: 0.9474 MB / 441.1 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.1318, allocations: 4.532 MB / 445.7 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.134, allocations: 299.5 kB / 445.9 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/0.1344, allocations: 256 kB / 446.2 MB, free: 1.727 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.001813/0.1362, allocations: 1.372 MB / 447.6 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.1367, allocations: 246.4 kB / 447.8 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1601/0.2968, allocations: 2.121 MB / 449.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.2968, allocations: 18.89 kB / 449.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.2968, allocations: 1.375 kB / 449.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2968, allocations: 5.125 kB / 450 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.3033, allocations: 4.835 MB / 454.8 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3033, allocations: 0 / 454.8 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.3037, allocations: 159 kB / 454.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009836/0.3047, allocations: 0.6774 MB / 455.6 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.3047, allocations: 30.34 kB / 455.7 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.3076, allocations: 4.036 MB / 459.7 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3076, allocations: 1.156 kB / 459.7 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.311, allocations: 4.059 MB / 463.7 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.3115, allocations: 246.9 kB / 464 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.3117, allocations: 12 kB / 464 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.3123, allocations: 115.9 kB / 464.1 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3124, allocations: 64.33 kB / 464.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.3125, allocations: 30.58 kB / 464.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001737/0.3142, allocations: 1.817 MB / 466 MB, free: 104.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3142, allocations: 0 / 466 MB, free: 104.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002605/0.3168, allocations: 0.7467 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.004033/0.3208, allocations: 4.755 MB / 471.5 MB, free: 99.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.3245, allocations: 3.361 MB / 474.9 MB, free: 96.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3245, allocations: 0 / 474.9 MB, free: 96.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.3252, allocations: 0.9604 MB / 475.8 MB, free: 95.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.3264, allocations: 262.9 kB / 476.1 MB, free: 94.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/0.352, allocations: 30.32 MB / 0.4946 GB, free: 61.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.3532, allocations: 1.669 MB / 0.4962 GB, free: 59.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001689/0.3549, allocations: 1.323 MB / 0.4975 GB, free: 58.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/0.3558, allocations: 1.11 MB / 0.4986 GB, free: 57.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.021e-06/0.3558, allocations: 0 / 0.4986 GB, free: 57.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/0.4112, allocations: 46.69 MB / 0.5442 GB, free: 10.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.194, allocations: 15.84 kB / 0.5442 GB, free: 10.89 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 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.csv","/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: 11.10042277444154]