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.00119/0.00119, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.001119/0.001119, allocations: 194 kB / 18.12 MB, free: 5.383 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.338/1.338, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2212/0.2212, allocations: 44.17 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 58.25 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 60.84 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5318/0.6711, allocations: 189.7 MB / 0.6429 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.6826, allocations: 7.641 MB / 0.6504 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.6839, allocations: 31.75 kB / 0.6504 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.6855, allocations: 394.1 kB / 0.6508 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.6922, allocations: 2.087 MB / 0.6529 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.6987, allocations: 2.024 MB / 0.6548 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.7028, allocations: 3.21 MB / 0.658 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.704, allocations: 0.5049 MB / 0.6585 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.7087, allocations: 1.624 MB / 0.66 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.7108, allocations: 0.8956 MB / 0.6609 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004129/0.7112, allocations: 48 kB / 0.661 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.7234, allocations: 5.498 MB / 0.6663 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.7245, allocations: 382.9 kB / 0.6667 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.7258, allocations: 497.7 kB / 0.6672 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.7363, allocations: 3.873 MB / 0.671 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.7363, allocations: 0 / 0.671 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7363, allocations: 4 kB / 0.671 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.151e-05/0.7364, allocations: 0 / 0.671 GB, free: 6.582 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.005933/0.7423, allocations: 1.711 MB / 0.6726 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.7424, allocations: 11.97 kB / 0.6726 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003479/0.7428, allocations: 130.5 kB / 0.6728 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.7434, allocations: 118.8 kB / 0.6729 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.7447, allocations: 0.5781 MB / 0.6734 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.7449, allocations: 121.4 kB / 0.6736 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.745, allocations: 68 kB / 0.6736 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.7474, allocations: 1.167 MB / 0.6748 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.7475, allocations: 4 kB / 0.6748 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.7476, allocations: 31.94 kB / 0.6748 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.792e-05/0.7477, allocations: 73.84 kB / 0.6749 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.75, allocations: 1.159 MB / 0.676 GB, free: 1.254 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.009174/0.7592, allocations: 4.959 MB / 0.6808 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.7614, allocations: 0.8283 MB / 0.6817 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.7622, allocations: 425.8 kB / 0.6821 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.7638, allocations: 1.634 MB / 0.6837 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.7638, allocations: 47.06 kB / 0.6837 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/0.7639, allocations: 0 / 0.6837 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.0146/0.7785, allocations: 4.004 MB / 0.6876 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.7786, allocations: 111.5 kB / 0.6877 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.7797, allocations: 0.6602 MB / 0.6884 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.7798, allocations: 45.7 kB / 0.6884 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.7802, allocations: 383.5 kB / 0.6888 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.7805, allocations: 295.8 kB / 0.6891 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.7808, allocations: 194.5 kB / 0.6892 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.781, allocations: 386.8 kB / 0.6896 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.782, allocations: 497.7 kB / 0.6901 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.7834, allocations: 0.7562 MB / 0.6908 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.7859, allocations: 1.281 MB / 0.6921 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/0.7859, allocations: 3.938 kB / 0.6921 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003863/0.7898, allocations: 1.688 MB / 0.6937 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.7898, allocations: 8 kB / 0.6937 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.7898, allocations: 8 kB / 0.6937 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007565/0.7974, allocations: 1.304 MB / 0.695 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.7981, allocations: 159.7 kB / 0.6952 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.8009, allocations: 1.533 MB / 0.6967 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.8021, allocations: 87.83 kB / 0.6967 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.8023, allocations: 55.97 kB / 0.6968 GB, free: 10.86 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.0006704/0.803, allocations: 294 kB / 0.6971 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.8033, allocations: 83.06 kB / 0.6972 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.8071, allocations: 1.671 MB / 0.6988 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.8071, allocations: 11.98 kB / 0.6988 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8071, allocations: 3.938 kB / 0.6988 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8072, allocations: 3.984 kB / 0.6988 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/0.8121, allocations: 2.629 MB / 0.7014 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8121, allocations: 3.938 kB / 0.7014 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.8134, allocations: 259.9 kB / 0.7016 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.8152, allocations: 380.2 kB / 0.702 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.8153, allocations: 31.98 kB / 0.702 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002845/0.8182, allocations: 2.249 MB / 0.7042 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8182, allocations: 4.109 kB / 0.7042 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.8223, allocations: 2.024 MB / 0.7062 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.823, allocations: 291.8 kB / 0.7065 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.8232, allocations: 32 kB / 0.7065 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/0.8242, allocations: 75.83 kB / 0.7066 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.8244, allocations: 60.86 kB / 0.7066 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.8245, allocations: 51.95 kB / 0.7067 GB, free: 404 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2667/1.091, allocations: 499.1 kB / 0.7072 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.51e-07/1.091, allocations: 0.9375 kB / 0.7072 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003037/1.094, allocations: 0.6674 MB / 0.7078 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.006751/1.101, allocations: 3.277 MB / 0.711 GB, free: 204.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002957/1.104, allocations: 1.237 MB / 0.7122 GB, free: 203.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.104, allocations: 2.969 kB / 0.7122 GB, free: 203.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.106, allocations: 0.7083 MB / 0.7129 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.108, allocations: 0.4893 MB / 0.7134 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.127, allocations: 10.34 MB / 0.7235 GB, free: 198 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/1.128, allocations: 1.043 MB / 0.7245 GB, free: 197.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001343/1.129, allocations: 375.6 kB / 0.7249 GB, free: 197.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/1.129, allocations: 336.3 kB / 0.7252 GB, free: 197 MB / 0.5294 GB Notification: Performance of SimCode: time 1.011e-06/1.129, allocations: 0 / 0.7252 GB, free: 197 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/1.187, allocations: 42.19 MB / 0.7664 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/1.187, allocations: 303.9 kB / 0.7667 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/4.371, allocations: 0 / 0.7667 GB, free: 161.1 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