Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.001488/0.001488, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001718/0.001718, allocations: 192 kB / 18.56 MB, free: 4.434 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.404/1.404, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.21/0.21, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 62.23 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4219/0.5364, allocations: 190.5 MB / 0.6444 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009371/0.5458, allocations: 7.406 MB / 0.6517 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.5466, allocations: 19.88 kB / 0.6517 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.548, allocations: 433.5 kB / 0.6521 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.5536, allocations: 2.345 MB / 0.6544 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005572/0.5592, allocations: 2.284 MB / 0.6566 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.562, allocations: 2.195 MB / 0.6588 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009497/0.5629, allocations: 0.5918 MB / 0.6593 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003862/0.5668, allocations: 1.799 MB / 0.6611 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.5681, allocations: 0.8605 MB / 0.6619 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.5684, allocations: 99.94 kB / 0.662 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008911/0.5773, allocations: 5.124 MB / 0.667 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.578, allocations: 430.9 kB / 0.6674 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007783/0.5788, allocations: 0.5368 MB / 0.668 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009662/0.5884, allocations: 3.776 MB / 0.6717 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5885, allocations: 0 / 0.6717 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5885, allocations: 0 / 0.6717 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.5885, allocations: 0 / 0.6717 GB, free: 5.973 MB / 0.4981 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.00386/0.5924, allocations: 1.715 MB / 0.6733 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5924, allocations: 11.97 kB / 0.6733 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.5926, allocations: 126.5 kB / 0.6735 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.593, allocations: 114.8 kB / 0.6736 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/0.5939, allocations: 0.5897 MB / 0.6741 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.594, allocations: 114.3 kB / 0.6743 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.5942, allocations: 71.98 kB / 0.6743 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.5959, allocations: 1.159 MB / 0.6755 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5959, allocations: 0 / 0.6755 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5961, allocations: 43.98 kB / 0.6755 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.67e-05/0.5961, allocations: 57.91 kB / 0.6756 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.5979, allocations: 1.167 MB / 0.6767 GB, free: 0.6484 MB / 0.4981 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.006287/0.6042, allocations: 4.991 MB / 0.6816 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.6059, allocations: 0.8164 MB / 0.6824 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.6065, allocations: 421.1 kB / 0.6828 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.6078, allocations: 1.626 MB / 0.6844 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.6079, allocations: 47.06 kB / 0.6844 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 9.648e-06/0.6079, allocations: 0 / 0.6844 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01338/0.6213, allocations: 4.004 MB / 0.6883 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.6214, allocations: 115.5 kB / 0.6884 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.6223, allocations: 0.6641 MB / 0.6891 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6224, allocations: 41.7 kB / 0.6891 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.6226, allocations: 383.5 kB / 0.6895 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.6229, allocations: 291.9 kB / 0.6897 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.6232, allocations: 198.4 kB / 0.6899 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6234, allocations: 390.8 kB / 0.6903 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009741/0.6244, allocations: 493.7 kB / 0.6908 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.6256, allocations: 0.7523 MB / 0.6915 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.6279, allocations: 1.289 MB / 0.6928 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.628, allocations: 7.938 kB / 0.6928 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003424/0.6314, allocations: 1.673 MB / 0.6944 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.6314, allocations: 8 kB / 0.6944 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6314, allocations: 11.94 kB / 0.6944 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007118/0.6386, allocations: 1.32 MB / 0.6957 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.6392, allocations: 155.7 kB / 0.6959 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.6419, allocations: 1.529 MB / 0.6974 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009514/0.6428, allocations: 51.97 kB / 0.6974 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.643, allocations: 52.08 kB / 0.6975 GB, free: 10.29 MB / 0.5294 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.0005299/0.6435, allocations: 297.5 kB / 0.6977 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.6437, allocations: 83.06 kB / 0.6978 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.6471, allocations: 1.684 MB / 0.6995 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.6472, allocations: 8 kB / 0.6995 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6472, allocations: 3.938 kB / 0.6995 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6472, allocations: 11.97 kB / 0.6995 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.6517, allocations: 2.629 MB / 0.7021 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6517, allocations: 0 / 0.7021 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.653, allocations: 259.7 kB / 0.7023 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.6547, allocations: 380.5 kB / 0.7027 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.6548, allocations: 31.97 kB / 0.7027 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.6576, allocations: 2.349 MB / 0.705 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6576, allocations: 8.094 kB / 0.705 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/0.6618, allocations: 2.024 MB / 0.707 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1874/0.8492, allocations: 285.6 kB / 0.7073 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.8496, allocations: 26.81 kB / 0.7073 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/0.8506, allocations: 52.92 kB / 0.7073 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.8508, allocations: 62.56 kB / 0.7074 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.8509, allocations: 49.25 kB / 0.7074 GB, free: 205 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007017/0.8516, allocations: 0.4986 MB / 0.7079 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8516, allocations: 0 / 0.7079 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001967/0.8536, allocations: 0.6621 MB / 0.7086 GB, free: 204.9 MB / 0.5294 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.006209/0.8598, allocations: 3.27 MB / 0.7118 GB, free: 204 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.8638, allocations: 1.436 MB / 0.7132 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.8638, allocations: 1.625 kB / 0.7132 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.8659, allocations: 0.7148 MB / 0.7139 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.8686, allocations: 0.5239 MB / 0.7144 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.8858, allocations: 10.06 MB / 0.7242 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.8866, allocations: 1.047 MB / 0.7252 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001531/0.8881, allocations: 365.5 kB / 0.7256 GB, free: 197.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.8886, allocations: 338.3 kB / 0.7259 GB, free: 197.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.482e-06/0.8886, allocations: 0 / 0.7259 GB, free: 197.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.9535, allocations: 43.41 MB / 0.7683 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.28, allocations: 7.938 kB / 0.7683 GB, free: 159.5 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches