Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 113.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 75.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3276, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1746/0.5022, allocations: 152.2 MB / 0.6671 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.5154, allocations: 10.44 MB / 0.6773 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.5156, allocations: 7.938 kB / 0.6773 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.516, allocations: 87.48 kB / 0.6774 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008129/0.5241, allocations: 3.022 MB / 0.6803 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.5245, allocations: 159.4 kB / 0.6805 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.5253, allocations: 0.5334 MB / 0.681 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.5254, allocations: 16.41 kB / 0.681 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.5258, allocations: 219.2 kB / 0.6812 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.5265, allocations: 382.8 kB / 0.6816 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.5265, allocations: 16 kB / 0.6816 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008273/0.5348, allocations: 4.64 MB / 0.6861 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.535, allocations: 99.66 kB / 0.6862 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.5352, allocations: 159.2 kB / 0.6864 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004989/0.5402, allocations: 2.396 MB / 0.6887 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5402, allocations: 3.938 kB / 0.6887 GB, free: 13.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5402, allocations: 0 / 0.6887 GB, free: 13.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.5402, allocations: 0 / 0.6887 GB, free: 13.14 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002472/0.5427, allocations: 1.085 MB / 0.6898 GB, free: 12.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5428, allocations: 8.031 kB / 0.6898 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.264e-05/0.5429, allocations: 74.7 kB / 0.6899 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.5431, allocations: 39.98 kB / 0.6899 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.5434, allocations: 250.6 kB / 0.6901 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5435, allocations: 123.5 kB / 0.6902 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.5436, allocations: 31.98 kB / 0.6903 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.5444, allocations: 0.5642 MB / 0.6908 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5444, allocations: 7.938 kB / 0.6908 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.5445, allocations: 19.94 kB / 0.6909 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.5445, allocations: 24.55 kB / 0.6909 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.546, allocations: 1.255 MB / 0.6921 GB, free: 9.516 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.002391/0.5484, allocations: 1.973 MB / 0.694 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.5491, allocations: 267.7 kB / 0.6943 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5493, allocations: 114.1 kB / 0.6944 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00338/0.5527, allocations: 3.106 MB / 0.6974 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.5528, allocations: 38.56 kB / 0.6975 GB, free: 3.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.5528, allocations: 0 / 0.6975 GB, free: 3.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.001971/0.5547, allocations: 0.7177 MB / 0.6982 GB, free: 2.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.5548, allocations: 55.41 kB / 0.6982 GB, free: 2.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.555, allocations: 202.3 kB / 0.6984 GB, free: 2.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.5551, allocations: 33.7 kB / 0.6984 GB, free: 2.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5552, allocations: 196.4 kB / 0.6986 GB, free: 2.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.5553, allocations: 158.6 kB / 0.6988 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.5555, allocations: 146.2 kB / 0.6989 GB, free: 1.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5557, allocations: 338.8 kB / 0.6992 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.5559, allocations: 109.2 kB / 0.6993 GB, free: 1.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.5564, allocations: 417.3 kB / 0.6997 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.5572, allocations: 0.5689 MB / 0.7003 GB, free: 52 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.5572, allocations: 4 kB / 0.7003 GB, free: 48 kB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00106/0.5583, allocations: 0.551 MB / 0.7008 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5583, allocations: 8 kB / 0.7009 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.5583, allocations: 12 kB / 0.7009 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.5584, allocations: 12.78 kB / 0.7009 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.5591, allocations: 199.6 kB / 0.7011 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007944/0.5599, allocations: 1.192 MB / 0.7022 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.5602, allocations: 20 kB / 0.7022 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.5603, allocations: 59.98 kB / 0.7023 GB, free: 13.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.5605, allocations: 173.7 kB / 0.7025 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.5606, allocations: 35.81 kB / 0.7025 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.5618, allocations: 0.6384 MB / 0.7031 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5619, allocations: 4 kB / 0.7031 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5619, allocations: 4 kB / 0.7031 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.5619, allocations: 3.984 kB / 0.7031 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.563, allocations: 0.8118 MB / 0.7039 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.563, allocations: 4 kB / 0.7039 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.5635, allocations: 99.84 kB / 0.704 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.5635, allocations: 4 kB / 0.704 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5635, allocations: 11.94 kB / 0.704 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006569/0.5642, allocations: 1.168 MB / 0.7052 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5642, allocations: 7.969 kB / 0.7052 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.5647, allocations: 365.9 kB / 0.7055 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5649, allocations: 116.9 kB / 0.7057 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.565, allocations: 12 kB / 0.7057 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.5652, allocations: 15.98 kB / 0.7057 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.5653, allocations: 23.91 kB / 0.7057 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5653, allocations: 16 kB / 0.7057 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001828/0.5655, allocations: 176.5 kB / 0.7059 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5655, allocations: 0 / 0.7059 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00148/0.567, allocations: 0.4906 MB / 0.7064 GB, free: 9.539 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002943/0.57, allocations: 1.541 MB / 0.7079 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000938/0.5709, allocations: 373.9 kB / 0.7082 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5709, allocations: 4.375 kB / 0.7082 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.5713, allocations: 139.8 kB / 0.7084 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.5721, allocations: 117.2 kB / 0.7085 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2385/0.8106, allocations: 8.357 MB / 0.7166 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.8109, allocations: 0.7694 MB / 0.7174 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006333/0.8115, allocations: 201.9 kB / 0.7176 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.8117, allocations: 126.8 kB / 0.7177 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.8118, allocations: 0 / 0.7177 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.857, allocations: 18.48 MB / 0.7358 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.1, allocations: 6.688 kB / 0.7358 GB, free: 177.7 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches