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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001012, allocations: 104.3 kB / 18.4 MB, free: 4.699 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.001017/0.001016, allocations: 191 kB / 19.34 MB, free: 3.766 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.337/1.337, allocations: 222.9 MB / 243 MB, free: 15.17 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.2117/0.2117, allocations: 44.17 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 65.84 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5514/0.6968, allocations: 190.5 MB / 0.6458 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009421/0.7062, allocations: 7.39 MB / 0.653 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.707, allocations: 19.88 kB / 0.653 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.7082, allocations: 441.4 kB / 0.6534 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005818/0.7141, allocations: 2.341 MB / 0.6557 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006125/0.7202, allocations: 2.286 MB / 0.6579 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.7234, allocations: 2.201 MB / 0.6601 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009107/0.7243, allocations: 0.5904 MB / 0.6607 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.729, allocations: 1.795 MB / 0.6624 GB, free: 464 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.7313, allocations: 0.8644 MB / 0.6633 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.7316, allocations: 96 kB / 0.6633 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.742, allocations: 5.179 MB / 0.6684 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.7429, allocations: 423 kB / 0.6688 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009549/0.7438, allocations: 0.5407 MB / 0.6693 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.7553, allocations: 3.78 MB / 0.673 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7554, allocations: 4 kB / 0.673 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7554, allocations: 4 kB / 0.673 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.7554, allocations: 0 / 0.673 GB, free: 5.551 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.004889/0.7603, allocations: 1.71 MB / 0.6747 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7604, allocations: 12.03 kB / 0.6747 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.7608, allocations: 118.8 kB / 0.6748 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.762, allocations: 0.613 MB / 0.6754 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.7621, allocations: 117.4 kB / 0.6755 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.7622, allocations: 71.98 kB / 0.6756 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.764, allocations: 1.158 MB / 0.6767 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.7641, allocations: 1.188 kB / 0.6767 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.7642, allocations: 39.98 kB / 0.6768 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.371e-05/0.7643, allocations: 61.91 kB / 0.6768 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.766, allocations: 1.159 MB / 0.678 GB, free: 352 kB / 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.006645/0.7727, allocations: 4.978 MB / 0.6828 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.7743, allocations: 0.817 MB / 0.6836 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.7749, allocations: 420 kB / 0.684 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.7762, allocations: 1.626 MB / 0.6856 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.7762, allocations: 51.06 kB / 0.6857 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 3.867e-06/0.7762, allocations: 4 kB / 0.6857 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01295/0.7892, allocations: 3.996 MB / 0.6896 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.7893, allocations: 115.5 kB / 0.6897 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.7902, allocations: 0.6602 MB / 0.6903 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/0.7903, allocations: 45.7 kB / 0.6904 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.7906, allocations: 383.5 kB / 0.6907 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.7908, allocations: 287.9 kB / 0.691 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.7912, allocations: 198.4 kB / 0.6912 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002989/0.7915, allocations: 386.8 kB / 0.6916 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009566/0.7924, allocations: 497.7 kB / 0.692 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.7937, allocations: 0.7523 MB / 0.6928 GB, free: 240 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.7961, allocations: 1.289 MB / 0.694 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7961, allocations: 4 kB / 0.694 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003491/0.7996, allocations: 1.685 MB / 0.6957 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.7996, allocations: 8 kB / 0.6957 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.7997, allocations: 8 kB / 0.6957 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006863/0.8065, allocations: 1.304 MB / 0.697 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.8072, allocations: 159.7 kB / 0.6971 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.81, allocations: 1.527 MB / 0.6986 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.811, allocations: 55.97 kB / 0.6987 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.8111, allocations: 47.98 kB / 0.6987 GB, free: 10.01 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.0005532/0.8117, allocations: 297.5 kB / 0.699 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.8119, allocations: 83.06 kB / 0.6991 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.8154, allocations: 1.683 MB / 0.7007 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.8154, allocations: 8 kB / 0.7007 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.8154, allocations: 7.922 kB / 0.7007 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.8155, allocations: 3.984 kB / 0.7007 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004626/0.8201, allocations: 2.624 MB / 0.7033 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.8201, allocations: 4 kB / 0.7033 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.8214, allocations: 263.9 kB / 0.7036 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.8231, allocations: 372.3 kB / 0.7039 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.8232, allocations: 35.91 kB / 0.7039 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.8258, allocations: 2.359 MB / 0.7063 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8258, allocations: 0 / 0.7063 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2411/1.067, allocations: 2.036 MB / 0.7082 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.068, allocations: 284.9 kB / 0.7085 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.068, allocations: 27.58 kB / 0.7085 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/1.069, allocations: 55.56 kB / 0.7086 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.069, allocations: 58.06 kB / 0.7086 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.07, allocations: 51.28 kB / 0.7087 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008424/1.07, allocations: 0.4969 MB / 0.7092 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/1.07, allocations: 0 / 0.7092 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002442/1.073, allocations: 0.6631 MB / 0.7098 GB, free: 204.6 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.001961/1.075, allocations: 0.7856 MB / 0.7106 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002844/1.078, allocations: 1.249 MB / 0.7118 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.078, allocations: 1.344 kB / 0.7118 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.079, allocations: 0.7184 MB / 0.7125 GB, free: 204.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.082, allocations: 0.5141 MB / 0.713 GB, free: 204.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/1.086, allocations: 2.155 MB / 0.7151 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/1.087, allocations: 1.044 MB / 0.7161 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001196/1.088, allocations: 371.8 kB / 0.7165 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/1.088, allocations: 92.42 kB / 0.7166 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/1.088, allocations: 3.562 kB / 0.7166 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.04261/1.131, allocations: 34.5 MB / 0.7503 GB, free: 179.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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