Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001223/0.001223, allocations: 76.5 kB / 19.92 MB, free: 4.637 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.00131/0.00131, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.936/0.936, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1279/0.1279, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.488e-05, allocations: 10.08 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3214/0.3215, allocations: 155.6 MB / 0.5493 GB, free: 6.965 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006781/0.3282, allocations: 7.515 MB / 0.5566 GB, free: 1.957 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006083/0.3288, allocations: 30.12 kB / 0.5567 GB, free: 1.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.3296, allocations: 310.7 kB / 0.5569 GB, free: 1.773 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.3323, allocations: 1.553 MB / 0.5585 GB, free: 0.957 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.3342, allocations: 1.205 MB / 0.5596 GB, free: 280 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.3359, allocations: 1.881 MB / 0.5615 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.3364, allocations: 395 kB / 0.5619 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3384, allocations: 1.505 MB / 0.5633 GB, free: 13.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.339, allocations: 0.6384 MB / 0.5639 GB, free: 13.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.3391, allocations: 61.19 kB / 0.564 GB, free: 13.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.3403, allocations: 0.7527 MB / 0.5647 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.3405, allocations: 280.3 kB / 0.565 GB, free: 13.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.3407, allocations: 297 kB / 0.5653 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3424, allocations: 1.533 MB / 0.5668 GB, free: 11.97 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3424, allocations: 0 / 0.5668 GB, free: 11.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3424, allocations: 0 / 0.5668 GB, free: 11.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3424, allocations: 0 / 0.5668 GB, free: 11.97 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001625/0.3441, allocations: 1.068 MB / 0.5678 GB, free: 11.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3441, allocations: 8.25 kB / 0.5678 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.3442, allocations: 95.58 kB / 0.5679 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.3447, allocations: 143.5 kB / 0.5681 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.3453, allocations: 479.9 kB / 0.5685 GB, free: 10.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3454, allocations: 161.2 kB / 0.5687 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.3455, allocations: 51.8 kB / 0.5687 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3465, allocations: 1.166 MB / 0.5699 GB, free: 9.477 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3465, allocations: 3.938 kB / 0.5699 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.3466, allocations: 27.7 kB / 0.5699 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.3466, allocations: 39.8 kB / 0.5699 GB, free: 9.441 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.3473, allocations: 0.6121 MB / 0.5705 GB, free: 9.145 MB / 458.7 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.002882/0.3502, allocations: 3.31 MB / 0.5738 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.3506, allocations: 341.8 kB / 0.5741 GB, free: 6.188 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.3508, allocations: 157.2 kB / 0.5742 GB, free: 6.109 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.351, allocations: 141.1 kB / 0.5744 GB, free: 6.051 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.351, allocations: 39.94 kB / 0.5744 GB, free: 6.008 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.351, allocations: 3.125 kB / 0.5744 GB, free: 6.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003913/0.355, allocations: 1.595 MB / 0.576 GB, free: 5.062 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.355, allocations: 135.1 kB / 0.5761 GB, free: 4.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.3556, allocations: 0.6262 MB / 0.5767 GB, free: 4.531 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.3557, allocations: 37.45 kB / 0.5768 GB, free: 4.492 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3559, allocations: 375.6 kB / 0.5771 GB, free: 4.156 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.356, allocations: 145.7 kB / 0.5772 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3561, allocations: 158.4 kB / 0.5774 GB, free: 3.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3563, allocations: 380.9 kB / 0.5778 GB, free: 3.578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.3565, allocations: 204.7 kB / 0.578 GB, free: 3.484 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.357, allocations: 0.5901 MB / 0.5785 GB, free: 2.762 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007351/0.3577, allocations: 0.7487 MB / 0.5793 GB, free: 1.875 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3577, allocations: 4.5 kB / 0.5793 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001072/0.3588, allocations: 0.872 MB / 0.5801 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3588, allocations: 12 kB / 0.5801 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3588, allocations: 8.875 kB / 0.5801 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/0.3597, allocations: 323.9 kB / 0.5805 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.36, allocations: 125.8 kB / 0.5806 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007723/0.3608, allocations: 0.9342 MB / 0.5815 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3611, allocations: 24 kB / 0.5815 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.3612, allocations: 71.98 kB / 0.5816 GB, free: 15.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.3615, allocations: 239.7 kB / 0.5818 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.3616, allocations: 83.61 kB / 0.5819 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/0.3624, allocations: 0.6805 MB / 0.5825 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3624, allocations: 4 kB / 0.5826 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3625, allocations: 3.984 kB / 0.5826 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3625, allocations: 0 / 0.5826 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.3639, allocations: 1.211 MB / 0.5837 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3639, allocations: 0 / 0.5837 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.3644, allocations: 211.8 kB / 0.5839 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-05/0.3645, allocations: 24.78 kB / 0.584 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3645, allocations: 19.94 kB / 0.584 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.3658, allocations: 2.663 MB / 0.5866 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3658, allocations: 0 / 0.5866 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007738/0.3666, allocations: 0.8172 MB / 0.5874 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.3668, allocations: 119.5 kB / 0.5875 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.3668, allocations: 13.88 kB / 0.5875 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.367, allocations: 19.92 kB / 0.5875 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.3671, allocations: 47.73 kB / 0.5876 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.3672, allocations: 39.98 kB / 0.5876 GB, free: 8.949 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.3675, allocations: 443 kB / 0.588 GB, free: 8.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3675, allocations: 0 / 0.588 GB, free: 8.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000677/0.3682, allocations: 295.6 kB / 0.5883 GB, free: 8.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.001565/0.3698, allocations: 1.626 MB / 0.5899 GB, free: 6.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.3705, allocations: 0.5268 MB / 0.5904 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3705, allocations: 0 / 0.5904 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.3711, allocations: 415.8 kB / 0.5908 GB, free: 5.629 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.372, allocations: 365.3 kB / 0.5912 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.3779, allocations: 6.231 MB / 0.5972 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3781, allocations: 328.7 kB / 0.5976 GB, free: 14.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005704/0.3787, allocations: 267.4 kB / 0.5978 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.379, allocations: 276.4 kB / 0.5981 GB, free: 13.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.379, allocations: 0 / 0.5981 GB, free: 13.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/0.4231, allocations: 26.75 MB / 0.6242 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.823/9.247, allocations: 12.05 kB / 0.6242 GB, free: 3 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.474912911653519]