Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008375/0.0008375, allocations: 75.7 kB / 20.01 MB, free: 4.5 MB / 18.57 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.0008808/0.0008808, allocations: 169.9 kB / 23.31 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8009/0.8009, allocations: 158.6 MB / 185.1 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1256/0.1256, allocations: 32.37 MB / 269.7 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.858e-06/1.113e-05, allocations: 5.234 kB / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2807/0.2807, allocations: 170.5 MB / 0.564 GB, free: 13.42 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008032/0.2888, allocations: 9.4 MB / 0.5732 GB, free: 3.988 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003882/0.2892, allocations: 31.75 kB / 0.5732 GB, free: 3.957 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.29, allocations: 417.3 kB / 0.5736 GB, free: 3.547 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.2941, allocations: 2.678 MB / 0.5762 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.2981, allocations: 2.74 MB / 0.5789 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.2998, allocations: 2.238 MB / 0.5811 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.3003, allocations: 0.5138 MB / 0.5816 GB, free: 11.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.3028, allocations: 2.275 MB / 0.5838 GB, free: 9.051 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.3035, allocations: 0.8572 MB / 0.5846 GB, free: 8.191 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3036, allocations: 92 kB / 0.5847 GB, free: 8.102 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/0.3087, allocations: 4.779 MB / 0.5894 GB, free: 3.312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.309, allocations: 466.8 kB / 0.5898 GB, free: 2.855 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.3093, allocations: 399.2 kB / 0.5902 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.3134, allocations: 4.449 MB / 0.5946 GB, free: 14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3134, allocations: 0 / 0.5946 GB, free: 14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3134, allocations: 0 / 0.5946 GB, free: 14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3134, allocations: 0 / 0.5946 GB, free: 14 MB / 0.4948 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.002267/0.3157, allocations: 1.759 MB / 0.5963 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3157, allocations: 12.03 kB / 0.5963 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.3159, allocations: 130.5 kB / 0.5964 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.3161, allocations: 115.3 kB / 0.5965 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.3167, allocations: 0.587 MB / 0.5971 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3168, allocations: 168.8 kB / 0.5973 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.3169, allocations: 68 kB / 0.5973 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3182, allocations: 1.593 MB / 0.5989 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3182, allocations: 7.922 kB / 0.5989 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.3183, allocations: 31.98 kB / 0.5989 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.3183, allocations: 65.97 kB / 0.599 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3195, allocations: 1.159 MB / 0.6001 GB, free: 8.059 MB / 0.4948 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.003769/0.3232, allocations: 3.836 MB / 0.6039 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3243, allocations: 0.787 MB / 0.6046 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/0.3247, allocations: 410.5 kB / 0.605 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.3251, allocations: 338 kB / 0.6053 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3251, allocations: 43.22 kB / 0.6054 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 1.683e-06/0.3251, allocations: 0 / 0.6054 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.006851/0.332, allocations: 3.96 MB / 0.6093 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.332, allocations: 111.5 kB / 0.6094 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.3325, allocations: 0.6796 MB / 0.61 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.3326, allocations: 45.7 kB / 0.6101 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3328, allocations: 392.4 kB / 0.6104 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3329, allocations: 301.4 kB / 0.6107 GB, free: 13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.3331, allocations: 198.5 kB / 0.6109 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3332, allocations: 386.8 kB / 0.6113 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/0.3339, allocations: 0.4899 MB / 0.6118 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.3347, allocations: 0.8001 MB / 0.6125 GB, free: 11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.336, allocations: 1.289 MB / 0.6138 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.336, allocations: 4 kB / 0.6138 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002038/0.3381, allocations: 1.673 MB / 0.6154 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3381, allocations: 8 kB / 0.6154 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3381, allocations: 9.484 kB / 0.6155 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.3427, allocations: 1.335 MB / 0.6168 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.343, allocations: 155.7 kB / 0.6169 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.3446, allocations: 1.533 MB / 0.6184 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.345, allocations: 56 kB / 0.6185 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.3451, allocations: 55.98 kB / 0.6185 GB, free: 4.738 MB / 0.5105 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.0003059/0.3454, allocations: 301.5 kB / 0.6188 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3455, allocations: 91.41 kB / 0.6189 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.3475, allocations: 1.638 MB / 0.6205 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3475, allocations: 11.98 kB / 0.6205 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3475, allocations: 0 / 0.6205 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3475, allocations: 7.984 kB / 0.6205 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.3502, allocations: 2.371 MB / 0.6228 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3503, allocations: 7.938 kB / 0.6228 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.143/0.4932, allocations: 257 kB / 0.6231 GB, free: 194.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009856/0.4942, allocations: 376.4 kB / 0.6234 GB, free: 194.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.4944, allocations: 34.34 kB / 0.6235 GB, free: 194.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.4956, allocations: 2.24 MB / 0.6257 GB, free: 192.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4956, allocations: 5.844 kB / 0.6257 GB, free: 192.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.498, allocations: 2.023 MB / 0.6276 GB, free: 191.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.4984, allocations: 217.8 kB / 0.6278 GB, free: 191.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/0.4985, allocations: 24.88 kB / 0.6279 GB, free: 191.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.4989, allocations: 55.44 kB / 0.6279 GB, free: 191.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.499, allocations: 68.22 kB / 0.628 GB, free: 191.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.4991, allocations: 56.33 kB / 0.628 GB, free: 191.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004351/0.4995, allocations: 0.4964 MB / 0.6285 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.4995, allocations: 0 / 0.6285 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001364/0.5009, allocations: 0.7124 MB / 0.6292 GB, free: 191.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.003772/0.5046, allocations: 3.439 MB / 0.6326 GB, free: 190.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.5063, allocations: 1.188 MB / 0.6337 GB, free: 189.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5063, allocations: 2.906 kB / 0.6337 GB, free: 189.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.5073, allocations: 0.6855 MB / 0.6344 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.5086, allocations: 0.521 MB / 0.6349 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009704/0.5183, allocations: 9.628 MB / 0.6443 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.5185, allocations: 449.9 kB / 0.6447 GB, free: 184.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005795/0.5191, allocations: 322.8 kB / 0.6451 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.5194, allocations: 336.7 kB / 0.6454 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/0.5194, allocations: 4 kB / 0.6454 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.5617, allocations: 46.86 MB / 0.6911 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.227/9.788, allocations: 11.86 kB / 0.6912 GB, free: 139.6 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 11.891689677722752]