Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.001726/0.001726, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.002143/0.002143, allocations: 215.2 kB / 21.42 MB, free: 1.629 MB / 14.72 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 1.544/1.544, allocations: 207.6 MB / 231.8 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 55.92 kB / 342.3 MB, free: 9.969 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1092, allocations: 49.13 MB / 391.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02965/0.1389, allocations: 24.7 MB / 416.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1425, allocations: 2.515 MB / 418.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1426, allocations: 4 kB / 418.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.1432, allocations: 166.9 kB / 418.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.1439, allocations: 326.2 kB / 419.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.1462, allocations: 0.978 MB / 420.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1473, allocations: 0.8992 MB / 421 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1475, allocations: 80.53 kB / 421.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.152, allocations: 2.736 MB / 423.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.1526, allocations: 286.8 kB / 424.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.1526, allocations: 32 kB / 424.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.1532, allocations: 243.7 kB / 424.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1533, allocations: 103.6 kB / 424.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.1536, allocations: 191.3 kB / 424.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.1543, allocations: 0.5762 MB / 425.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1543, allocations: 0 / 425.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1543, allocations: 0 / 425.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1543, allocations: 0 / 425.3 MB, free: 6.738 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009901/0.1553, allocations: 0.6386 MB / 425.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1554, allocations: 8.031 kB / 425.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/0.1555, allocations: 70.66 kB / 426 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.1558, allocations: 52.73 kB / 426 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.1563, allocations: 299.7 kB / 426.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1564, allocations: 16.94 kB / 426.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1564, allocations: 28.38 kB / 426.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.157, allocations: 342.1 kB / 426.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.157, allocations: 0 / 426.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.157, allocations: 12 kB / 426.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.157, allocations: 8 kB / 426.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1574, allocations: 193.5 kB / 426.9 MB, free: 4.957 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.1597, allocations: 2.119 MB / 429 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.1601, allocations: 174.5 kB / 429.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1602, allocations: 76.83 kB / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.1604, allocations: 251.5 kB / 429.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1605, allocations: 38.55 kB / 429.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.1605, allocations: 0 / 429.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002749/0.1632, allocations: 1.015 MB / 430.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1633, allocations: 55.41 kB / 430.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.1636, allocations: 270.5 kB / 430.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.1636, allocations: 29.7 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1638, allocations: 192.5 kB / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.1638, allocations: 107 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.164, allocations: 70.06 kB / 431.3 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1641, allocations: 334.8 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1643, allocations: 92.7 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1645, allocations: 170.6 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.1649, allocations: 289 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1649, allocations: 0 / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006154/0.1656, allocations: 377.9 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1656, allocations: 4 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1656, allocations: 4 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/0.166, allocations: 96.72 kB / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.1663, allocations: 68.22 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006132/0.1669, allocations: 0.6577 MB / 433.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.167, allocations: 8 kB / 433.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.1671, allocations: 19.98 kB / 433.4 MB, free: 13.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.1673, allocations: 153.7 kB / 433.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.1673, allocations: 39.75 kB / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.168, allocations: 369 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.168, allocations: 4 kB / 433.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.168, allocations: 0 / 433.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005964/0.1686, allocations: 0.5513 MB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1698, allocations: 0.7426 MB / 435.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1698, allocations: 0 / 435.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.1699, allocations: 35.92 kB / 435.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.1704, allocations: 104.8 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1705, allocations: 8 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005731/0.171, allocations: 0.6421 MB / 436 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.171, allocations: 0 / 436 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.1718, allocations: 0.4888 MB / 436.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/0.1719, allocations: 101.1 kB / 436.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.172, allocations: 11.92 kB / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1722, allocations: 8 kB / 436.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1722, allocations: 15.97 kB / 436.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.1723, allocations: 19.98 kB / 436.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.1725, allocations: 194 kB / 436.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1725, allocations: 0 / 436.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.1729, allocations: 115.9 kB / 437 MB, free: 10.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.1742, allocations: 1.058 MB / 438 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.1748, allocations: 235.5 kB / 438.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1748, allocations: 0 / 438.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.175, allocations: 111.8 kB / 438.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.176, allocations: 173.1 kB / 438.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.1802, allocations: 3.082 MB / 441.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1806, allocations: 0.7723 MB / 442.4 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.1809, allocations: 71.17 kB / 442.4 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.181, allocations: 95.41 kB / 442.5 MB, free: 4.324 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.181, allocations: 0 / 442.5 MB, free: 4.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.2212, allocations: 10.35 MB / 452.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.01, allocations: 8 kB / 452.9 MB, free: 9.895 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: 14.865369819002808]