Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000975/0.000975, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.8 MB / 246.9 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2175/0.2175, allocations: 46.19 MB / 345.3 MB, free: 11.34 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 10.09 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 63.57 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5354/0.685, allocations: 190.7 MB / 0.6581 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.6969, allocations: 7.587 MB / 0.6655 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.6982, allocations: 27.75 kB / 0.6655 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.6996, allocations: 398.1 kB / 0.6659 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006423/0.706, allocations: 2.078 MB / 0.6679 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006196/0.7122, allocations: 2.051 MB / 0.6699 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004275/0.7165, allocations: 3.214 MB / 0.673 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.7173, allocations: 0.5054 MB / 0.6735 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.7216, allocations: 1.647 MB / 0.6751 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.7231, allocations: 0.8839 MB / 0.676 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.7232, allocations: 51.94 kB / 0.6761 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.7338, allocations: 5.553 MB / 0.6815 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008188/0.7346, allocations: 394.9 kB / 0.6819 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.7357, allocations: 0.5112 MB / 0.6824 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009824/0.7456, allocations: 3.889 MB / 0.6862 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7456, allocations: 0 / 0.6862 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7456, allocations: 0 / 0.6862 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.7456, allocations: 4 kB / 0.6862 GB, free: 8.777 MB / 0.5137 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.003878/0.7495, allocations: 1.54 MB / 0.6877 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7496, allocations: 12.02 kB / 0.6877 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.75, allocations: 110.8 kB / 0.6878 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.7509, allocations: 0.5936 MB / 0.6884 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.751, allocations: 125.4 kB / 0.6885 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.7512, allocations: 68 kB / 0.6885 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.7532, allocations: 1.162 MB / 0.6897 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.7532, allocations: 0 / 0.6897 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.7533, allocations: 35.98 kB / 0.6897 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-05/0.7534, allocations: 61.91 kB / 0.6898 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.7554, allocations: 1.163 MB / 0.6909 GB, free: 3.75 MB / 0.5137 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.00731/0.7627, allocations: 4.981 MB / 0.6958 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.7647, allocations: 0.8242 MB / 0.6966 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.7655, allocations: 430.3 kB / 0.697 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/0.7674, allocations: 1.626 MB / 0.6986 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.7675, allocations: 43.12 kB / 0.6986 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 4.358e-06/0.7675, allocations: 0 / 0.6986 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01521/0.7827, allocations: 4.127 MB / 0.7026 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.7828, allocations: 115.5 kB / 0.7028 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.7838, allocations: 0.668 MB / 0.7034 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.7839, allocations: 41.7 kB / 0.7034 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.7843, allocations: 383.5 kB / 0.7038 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.7847, allocations: 287.9 kB / 0.7041 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.7849, allocations: 89.66 kB / 0.7042 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003204/0.7852, allocations: 390.8 kB / 0.7045 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.7863, allocations: 0.4899 MB / 0.705 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.7877, allocations: 0.7599 MB / 0.7058 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.7902, allocations: 1.297 MB / 0.707 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7902, allocations: 8 kB / 0.707 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003794/0.794, allocations: 1.696 MB / 0.7087 GB, free: 480 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7941, allocations: 11.98 kB / 0.7087 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.7941, allocations: 8 kB / 0.7087 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2936/1.088, allocations: 1.373 MB / 0.7101 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/1.089, allocations: 154.6 kB / 0.7102 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/1.091, allocations: 1.547 MB / 0.7117 GB, free: 194.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.092, allocations: 88.2 kB / 0.7118 GB, free: 194.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.092, allocations: 58.72 kB / 0.7119 GB, free: 194.7 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.00054/1.093, allocations: 293.7 kB / 0.7121 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/1.093, allocations: 85.5 kB / 0.7122 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/1.097, allocations: 1.694 MB / 0.7139 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.097, allocations: 9.484 kB / 0.7139 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.097, allocations: 1.828 kB / 0.7139 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.097, allocations: 4.312 kB / 0.7139 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/1.101, allocations: 2.66 MB / 0.7165 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.101, allocations: 3.094 kB / 0.7165 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.103, allocations: 257.2 kB / 0.7167 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/1.105, allocations: 397.5 kB / 0.7171 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.78e-05/1.105, allocations: 37.17 kB / 0.7171 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/1.107, allocations: 2.271 MB / 0.7194 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.107, allocations: 2.906 kB / 0.7194 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/1.111, allocations: 2.049 MB / 0.7214 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/1.112, allocations: 294.9 kB / 0.7217 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.112, allocations: 33.67 kB / 0.7217 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/1.113, allocations: 78.25 kB / 0.7218 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.113, allocations: 63.94 kB / 0.7218 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.113, allocations: 46.23 kB / 0.7219 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007801/1.114, allocations: 0.4961 MB / 0.7223 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 0.7223 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002472/1.116, allocations: 0.6917 MB / 0.723 GB, free: 189.8 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.002285/1.119, allocations: 0.8047 MB / 0.7238 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00285/1.122, allocations: 1.246 MB / 0.725 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.122, allocations: 5.188 kB / 0.725 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.123, allocations: 0.7132 MB / 0.7257 GB, free: 189 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.126, allocations: 0.506 MB / 0.7262 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/1.131, allocations: 2.603 MB / 0.7288 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/1.131, allocations: 1.042 MB / 0.7298 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001322/1.133, allocations: 377.5 kB / 0.7301 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/1.133, allocations: 96.92 kB / 0.7302 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/1.133, allocations: 0 / 0.7302 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.0443/1.177, allocations: 33.42 MB / 0.7629 GB, free: 158.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches