Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.000997/0.000997, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004884/0.004884, allocations: 162.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8725/0.8725, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.3e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.1268/0.1268, allocations: 6.839 MB / 305.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.1319, allocations: 3.099 MB / 308.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009326/0.1328, allocations: 43.28 kB / 308.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.1344, allocations: 1.064 MB / 309.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.1371, allocations: 1.412 MB / 310.9 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1382, allocations: 0.589 MB / 311.5 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.1413, allocations: 2.918 MB / 314.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.143, allocations: 1.492 MB / 315.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.145, allocations: 1.295 MB / 317.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.1464, allocations: 1.34 MB / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.1467, allocations: 151.2 kB / 318.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1481, allocations: 0.8293 MB / 319.5 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007149/0.1488, allocations: 1.143 MB / 320.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.1496, allocations: 0.6962 MB / 321.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.1532, allocations: 4.157 MB / 325.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1532, allocations: 0 / 325.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1532, allocations: 1.875 kB / 325.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.1533, allocations: 0 / 325.5 MB, free: 2.215 MB / 282.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.00447/0.1578, allocations: 3.048 MB / 328.6 MB, free: 36 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1578, allocations: 13.58 kB / 328.6 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004817/0.1583, allocations: 468.5 kB / 329 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.1614, allocations: 1.662 MB / 330.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.1633, allocations: 1.552 MB / 332.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.1634, allocations: 123.6 kB / 332.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.1636, allocations: 167.8 kB / 332.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006724/0.1704, allocations: 6.546 MB / 339.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.1704, allocations: 31.73 kB / 339.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.1706, allocations: 83.89 kB / 339.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.1721, allocations: 1.464 MB / 340.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007199/0.1793, allocations: 5.842 MB / 346.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/0.2016, allocations: 24.94 MB / 371.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.205, allocations: 2.081 MB / 373.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.2061, allocations: 1.129 MB / 374.7 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00533/0.2114, allocations: 4.41 MB / 379.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2115, allocations: 42.5 kB / 379.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 3.867e-06/0.2115, allocations: 4 kB / 379.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.01713/0.2286, allocations: 10.14 MB / 389.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.2287, allocations: 137 kB / 389.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004005/0.2327, allocations: 3.085 MB / 392.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.2328, allocations: 45.7 kB / 392.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009465/0.2337, allocations: 2.113 MB / 394.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.2341, allocations: 444.6 kB / 395.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.2348, allocations: 0.8182 MB / 395.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.2349, allocations: 305.1 kB / 396.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.2365, allocations: 1.452 MB / 397.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.2393, allocations: 4.069 MB / 401.7 MB, free: 4.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/0.2439, allocations: 5.948 MB / 407.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.003e-05/0.2439, allocations: 27.98 kB / 407.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006708/0.2506, allocations: 6.043 MB / 413.7 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.2507, allocations: 48 kB / 413.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.728e-05/0.2508, allocations: 99.59 kB / 413.9 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.2525, allocations: 0.8209 MB / 414.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.2541, allocations: 0.9474 MB / 415.6 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/0.2582, allocations: 4.53 MB / 420.2 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.2603, allocations: 303.5 kB / 420.5 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.2607, allocations: 260 kB / 420.7 MB, free: 56 kB / 378.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.002099/0.2628, allocations: 1.38 MB / 422.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.2632, allocations: 242.4 kB / 422.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.2657, allocations: 2.124 MB / 424.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.2657, allocations: 15.94 kB / 424.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.2657, allocations: 7.938 kB / 424.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.2657, allocations: 3.984 kB / 424.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006696/0.2724, allocations: 4.861 MB / 429.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2724, allocations: 0 / 429.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.2728, allocations: 155.8 kB / 429.5 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.274, allocations: 0.6834 MB / 430.2 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.274, allocations: 20 kB / 430.2 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.2775, allocations: 4.041 MB / 434.2 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2775, allocations: 3.984 kB / 434.2 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/0.2818, allocations: 4.057 MB / 438.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.2827, allocations: 418.1 kB / 438.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.2828, allocations: 21.94 kB / 438.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.2835, allocations: 115.8 kB / 438.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2836, allocations: 64.53 kB / 438.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.2837, allocations: 35.98 kB / 438.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002118/0.2858, allocations: 1.854 MB / 440.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2858, allocations: 8 kB / 440.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002391/0.2882, allocations: 0.7693 MB / 441.6 MB, free: 10.95 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.004878/0.2931, allocations: 4.751 MB / 446.3 MB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.2973, allocations: 3.361 MB / 449.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2973, allocations: 0 / 449.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.2985, allocations: 0.9662 MB / 450.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.3001, allocations: 260.7 kB / 450.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1544/0.4545, allocations: 30.54 MB / 481.4 MB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.4564, allocations: 1.68 MB / 483.1 MB, free: 133.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002305/0.4587, allocations: 1.33 MB / 484.5 MB, free: 133.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009355/0.4596, allocations: 1.109 MB / 485.6 MB, free: 132.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4596, allocations: 0 / 485.6 MB, free: 132.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.5196, allocations: 47.14 MB / 0.5202 GB, free: 93.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/9.436, allocations: 0 / 0.5202 GB, free: 93.54 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.182707881554961]