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.001305/0.001305, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001419/0.001419, allocations: 194 kB / 18.77 MB, free: 4.742 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.385/1.385, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2126/0.2126, allocations: 44.18 MB / 336.8 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.52 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4223/0.53, allocations: 189.7 MB / 0.6435 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.5414, allocations: 7.637 MB / 0.6509 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5427, allocations: 27.75 kB / 0.651 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.5442, allocations: 394.1 kB / 0.6513 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.5505, allocations: 2.076 MB / 0.6534 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005784/0.5563, allocations: 2.04 MB / 0.6554 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003707/0.56, allocations: 3.206 MB / 0.6585 GB, free: 4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.5611, allocations: 0.5088 MB / 0.659 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.5652, allocations: 1.624 MB / 0.6606 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.5671, allocations: 0.8917 MB / 0.6615 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.5674, allocations: 48 kB / 0.6615 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00971/0.5771, allocations: 5.502 MB / 0.6669 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007884/0.578, allocations: 378.9 kB / 0.6672 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.5792, allocations: 0.4938 MB / 0.6677 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.5842, allocations: 2.686 MB / 0.6703 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5843, allocations: 0 / 0.6703 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5843, allocations: 4 kB / 0.6703 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.104e-05/0.5844, allocations: 0 / 0.6703 GB, free: 7.832 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.004813/0.5892, allocations: 1.715 MB / 0.672 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5892, allocations: 11.97 kB / 0.672 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.5898, allocations: 114.8 kB / 0.6721 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5909, allocations: 0.5936 MB / 0.6727 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.591, allocations: 121.4 kB / 0.6728 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.5912, allocations: 67.98 kB / 0.6729 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.5932, allocations: 1.162 MB / 0.674 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.5933, allocations: 3.938 kB / 0.674 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.5934, allocations: 31.98 kB / 0.6741 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.023e-05/0.5935, allocations: 61.91 kB / 0.6741 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.5955, allocations: 1.163 MB / 0.6753 GB, free: 2.637 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.007152/0.6027, allocations: 4.974 MB / 0.6801 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.6044, allocations: 0.8202 MB / 0.6809 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/0.6051, allocations: 422.3 kB / 0.6813 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.6066, allocations: 1.626 MB / 0.6829 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.6066, allocations: 47.12 kB / 0.683 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/0.6066, allocations: 0 / 0.683 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01469/0.6213, allocations: 4.012 MB / 0.6869 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.6215, allocations: 111.5 kB / 0.687 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.6224, allocations: 0.6603 MB / 0.6876 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.6226, allocations: 41.7 kB / 0.6877 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.6229, allocations: 383.5 kB / 0.688 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.6232, allocations: 291.8 kB / 0.6883 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.6236, allocations: 194.5 kB / 0.6885 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.6238, allocations: 394.8 kB / 0.6889 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6248, allocations: 489.7 kB / 0.6893 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.6262, allocations: 0.7562 MB / 0.6901 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.6286, allocations: 1.285 MB / 0.6913 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.6286, allocations: 0 / 0.6913 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003797/0.6324, allocations: 1.688 MB / 0.693 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.6325, allocations: 8 kB / 0.693 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6325, allocations: 8 kB / 0.693 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007872/0.6404, allocations: 1.312 MB / 0.6943 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.6412, allocations: 155.7 kB / 0.6944 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.6442, allocations: 1.525 MB / 0.6959 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.6454, allocations: 91.77 kB / 0.696 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.6456, allocations: 51.98 kB / 0.6961 GB, free: 12.25 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.0006323/0.6463, allocations: 298 kB / 0.6963 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.6466, allocations: 83.06 kB / 0.6964 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/0.6503, allocations: 1.669 MB / 0.698 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.6504, allocations: 11.98 kB / 0.6981 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6504, allocations: 11.94 kB / 0.6981 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6504, allocations: 3.984 kB / 0.6981 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/0.6554, allocations: 2.625 MB / 0.7006 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6555, allocations: 0 / 0.7006 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.6569, allocations: 263.9 kB / 0.7009 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.6589, allocations: 376.3 kB / 0.7012 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.6591, allocations: 27.98 kB / 0.7013 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.6618, allocations: 2.266 MB / 0.7035 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6618, allocations: 3.938 kB / 0.7035 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/0.666, allocations: 2.02 MB / 0.7055 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.6666, allocations: 295.8 kB / 0.7057 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.6669, allocations: 20 kB / 0.7058 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.6679, allocations: 79.77 kB / 0.7058 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6681, allocations: 64.92 kB / 0.7059 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.6683, allocations: 47.95 kB / 0.7059 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007508/0.669, allocations: 0.4912 MB / 0.7064 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6691, allocations: 0 / 0.7064 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002279/0.6713, allocations: 0.6753 MB / 0.7071 GB, free: 0.6172 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.1856/0.857, allocations: 0.7833 MB / 0.7079 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003497/0.8605, allocations: 1.238 MB / 0.7091 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.8605, allocations: 2 kB / 0.7091 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.8624, allocations: 0.7036 MB / 0.7097 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.865, allocations: 0.5001 MB / 0.7102 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.8699, allocations: 2.533 MB / 0.7127 GB, free: 204 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.8705, allocations: 1.042 MB / 0.7137 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.8708, allocations: 97.58 kB / 0.7138 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.8708, allocations: 1.312 kB / 0.7138 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.03458/0.9054, allocations: 28.29 MB / 0.7415 GB, free: 187.5 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 -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