Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001711/0.001711, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002129/0.002129, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.471/1.471, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2576/0.2576, allocations: 46.92 MB / 357.1 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 0.4909 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1311, allocations: 65.99 MB / 0.5554 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5173/0.6484, allocations: 194.7 MB / 0.7455 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.6593, allocations: 7.461 MB / 0.7528 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008345/0.6602, allocations: 27.75 kB / 0.7528 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.6618, allocations: 457.4 kB / 0.7533 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006628/0.6685, allocations: 2.377 MB / 0.7556 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.6748, allocations: 2.318 MB / 0.7578 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.6779, allocations: 2.2 MB / 0.76 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008707/0.6788, allocations: 0.5327 MB / 0.7605 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.683, allocations: 1.857 MB / 0.7623 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.6844, allocations: 0.9267 MB / 0.7632 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.6846, allocations: 92 kB / 0.7633 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.6952, allocations: 5.389 MB / 0.7686 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.696, allocations: 434.9 kB / 0.769 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.6968, allocations: 0.5368 MB / 0.7695 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00895/0.7058, allocations: 3.841 MB / 0.7733 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7058, allocations: 0 / 0.7733 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7058, allocations: 0 / 0.7733 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.7058, allocations: 4 kB / 0.7733 GB, free: 2.07 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004249/0.71, allocations: 1.78 MB / 0.775 GB, free: 240 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7101, allocations: 12.03 kB / 0.775 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.7103, allocations: 130.2 kB / 0.7751 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.7107, allocations: 123.3 kB / 0.7753 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009935/0.7117, allocations: 0.6175 MB / 0.7759 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.7118, allocations: 113.4 kB / 0.776 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.712, allocations: 75.92 kB / 0.776 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.7139, allocations: 1.162 MB / 0.7772 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.7139, allocations: 0 / 0.7772 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.714, allocations: 31.94 kB / 0.7772 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-05/0.7141, allocations: 65.97 kB / 0.7773 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.7162, allocations: 1.159 MB / 0.7784 GB, free: 12.64 MB / 0.5919 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.00727/0.7234, allocations: 4.967 MB / 0.7833 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.7252, allocations: 0.7912 MB / 0.784 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.7259, allocations: 409.2 kB / 0.7844 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.7273, allocations: 1.626 MB / 0.786 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.7274, allocations: 39.12 kB / 0.786 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.895e-06/0.7274, allocations: 0 / 0.786 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01439/0.7418, allocations: 4.025 MB / 0.79 GB, free: 24 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.7419, allocations: 115.5 kB / 0.7901 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.743, allocations: 0.6603 MB / 0.7907 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.7431, allocations: 41.7 kB / 0.7908 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.7435, allocations: 404.4 kB / 0.7912 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.7438, allocations: 301.5 kB / 0.7914 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.7441, allocations: 198.5 kB / 0.7916 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002284/0.7444, allocations: 386.8 kB / 0.792 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.7455, allocations: 497.7 kB / 0.7925 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.7468, allocations: 0.7562 MB / 0.7932 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.7493, allocations: 1.285 MB / 0.7945 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.7493, allocations: 4 kB / 0.7945 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003799/0.7531, allocations: 1.657 MB / 0.7961 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.7531, allocations: 8.594 kB / 0.7961 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.7531, allocations: 12 kB / 0.7961 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007481/0.7606, allocations: 1.304 MB / 0.7974 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.7614, allocations: 159.7 kB / 0.7975 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.7643, allocations: 1.526 MB / 0.799 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.7652, allocations: 52.02 kB / 0.7991 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.7653, allocations: 55.97 kB / 0.7991 GB, free: 6.328 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005598/0.7659, allocations: 299.6 kB / 0.7994 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.7661, allocations: 87.48 kB / 0.7995 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.7697, allocations: 1.687 MB / 0.8011 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.7697, allocations: 11.94 kB / 0.8012 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7697, allocations: 0 / 0.8012 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.7697, allocations: 3.984 kB / 0.8012 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.7744, allocations: 2.624 MB / 0.8037 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.7744, allocations: 0 / 0.8037 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.7762, allocations: 259.9 kB / 0.804 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.7787, allocations: 373.5 kB / 0.8043 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.7788, allocations: 35.92 kB / 0.8044 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.782, allocations: 2.356 MB / 0.8067 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.782, allocations: 4.062 kB / 0.8067 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/0.7863, allocations: 2.033 MB / 0.8087 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/0.787, allocations: 288.4 kB / 0.8089 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.7872, allocations: 32.61 kB / 0.809 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.7881, allocations: 47.95 kB / 0.809 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.7883, allocations: 68.84 kB / 0.8091 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.7884, allocations: 43.97 kB / 0.8091 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007344/0.7891, allocations: 0.499 MB / 0.8096 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7891, allocations: 0 / 0.8096 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002319/0.7915, allocations: 0.6935 MB / 0.8103 GB, free: 10.58 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006788/0.7982, allocations: 3.275 MB / 0.8135 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00297/0.8012, allocations: 1.182 MB / 0.8146 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8012, allocations: 0.9375 kB / 0.8146 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.803, allocations: 0.693 MB / 0.8153 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.8057, allocations: 0.5338 MB / 0.8158 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.8246, allocations: 9.681 MB / 0.8253 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.8254, allocations: 1.039 MB / 0.8263 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001151/0.8265, allocations: 366.6 kB / 0.8266 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.8271, allocations: 335.3 kB / 0.827 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.8271, allocations: 0 / 0.827 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/1.194, allocations: 44.05 MB / 0.87 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.27, allocations: 5.469 kB / 0.87 GB, free: 221.6 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_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_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.691875575008453]