Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001377/0.001377, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001715/0.001715, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001974/0.001974, allocations: 63.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 65.43 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5092/0.6379, allocations: 177.9 MB / 0.7255 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009443/0.6473, allocations: 5.347 MB / 0.7307 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.6481, allocations: 27.75 kB / 0.7307 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.6492, allocations: 318 kB / 0.731 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.6529, allocations: 1.277 MB / 0.7323 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.6554, allocations: 0.9554 MB / 0.7332 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.6578, allocations: 1.86 MB / 0.735 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008081/0.6586, allocations: 409.4 kB / 0.7354 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.6609, allocations: 1.105 MB / 0.7365 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.6623, allocations: 0.689 MB / 0.7372 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.6625, allocations: 60 kB / 0.7372 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.664, allocations: 0.6359 MB / 0.7378 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.6644, allocations: 275.2 kB / 0.7381 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.665, allocations: 394.2 kB / 0.7385 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.6671, allocations: 1.312 MB / 0.7398 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6671, allocations: 0 / 0.7398 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6671, allocations: 0 / 0.7398 GB, free: 6.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.6671, allocations: 0 / 0.7398 GB, free: 6.52 MB / 0.545 GB 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.002602/0.6697, allocations: 1.113 MB / 0.7409 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6698, allocations: 12.03 kB / 0.7409 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.6699, allocations: 98.52 kB / 0.741 GB, free: 5.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.6708, allocations: 147.1 kB / 0.7411 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/0.6717, allocations: 0.5396 MB / 0.7416 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.6718, allocations: 96.41 kB / 0.7417 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.6719, allocations: 55.92 kB / 0.7418 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.6735, allocations: 0.8163 MB / 0.7426 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6735, allocations: 3.938 kB / 0.7426 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.6736, allocations: 27.94 kB / 0.7426 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.6736, allocations: 36.98 kB / 0.7426 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6747, allocations: 0.6165 MB / 0.7432 GB, free: 2.781 MB / 0.545 GB 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.005358/0.6801, allocations: 3.945 MB / 0.7471 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.6807, allocations: 341.8 kB / 0.7474 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.6811, allocations: 161.3 kB / 0.7476 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.6812, allocations: 93.31 kB / 0.7477 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.6812, allocations: 38.84 kB / 0.7477 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.585e-06/0.6812, allocations: 0 / 0.7477 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006261/0.6875, allocations: 1.691 MB / 0.7493 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.6876, allocations: 136.5 kB / 0.7495 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.6886, allocations: 0.6134 MB / 0.7501 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.6886, allocations: 29.7 kB / 0.7501 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.689, allocations: 375.8 kB / 0.7505 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.6891, allocations: 150.7 kB / 0.7506 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.6894, allocations: 166.6 kB / 0.7508 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.6896, allocations: 374.8 kB / 0.7511 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.69, allocations: 197.9 kB / 0.7513 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.6907, allocations: 0.5163 MB / 0.7518 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6918, allocations: 0.7487 MB / 0.7525 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.6918, allocations: 4 kB / 0.7525 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001713/0.6935, allocations: 0.88 MB / 0.7534 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6935, allocations: 8 kB / 0.7534 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.6935, allocations: 12 kB / 0.7534 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.695, allocations: 308.9 kB / 0.7537 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.6954, allocations: 127.8 kB / 0.7538 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.6967, allocations: 0.9325 MB / 0.7548 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.6972, allocations: 31.98 kB / 0.7548 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6973, allocations: 67.98 kB / 0.7548 GB, free: 6.145 MB / 0.5606 GB 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.0004043/0.6977, allocations: 237.5 kB / 0.7551 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.6979, allocations: 71.58 kB / 0.7551 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.6997, allocations: 0.87 MB / 0.756 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.6997, allocations: 4 kB / 0.756 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6997, allocations: 11.94 kB / 0.756 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6997, allocations: 3.984 kB / 0.756 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.7022, allocations: 1.453 MB / 0.7574 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.7022, allocations: 11.97 kB / 0.7574 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.7033, allocations: 211.7 kB / 0.7576 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.7034, allocations: 24.84 kB / 0.7577 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.7034, allocations: 19.98 kB / 0.7577 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.7061, allocations: 2.865 MB / 0.7605 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.7061, allocations: 12.12 kB / 0.7605 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.7075, allocations: 0.8195 MB / 0.7613 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.7078, allocations: 192.7 kB / 0.7615 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.7079, allocations: 8 kB / 0.7615 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.7083, allocations: 19.98 kB / 0.7615 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7084, allocations: 39.89 kB / 0.7615 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-05/0.7085, allocations: 43.98 kB / 0.7616 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006081/0.7091, allocations: 443 kB / 0.762 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7091, allocations: 4.062 kB / 0.762 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009535/0.71, allocations: 255.7 kB / 0.7623 GB, free: 14.06 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002354/0.7124, allocations: 1.553 MB / 0.7638 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.7137, allocations: 0.5386 MB / 0.7643 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7137, allocations: 4 kB / 0.7643 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.7147, allocations: 407.1 kB / 0.7647 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.7164, allocations: 361.5 kB / 0.765 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.7298, allocations: 6.315 MB / 0.7712 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009733/0.7308, allocations: 0.9376 MB / 0.7721 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001772/0.7326, allocations: 474 kB / 0.7726 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008146/0.7334, allocations: 283.3 kB / 0.7728 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.7334, allocations: 0 / 0.7728 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09738/0.8308, allocations: 24.47 MB / 0.7967 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.18, allocations: 8.062 kB / 0.7967 GB, free: 10.53 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.299997243098915]