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.001071/0.001071, allocations: 104.4 kB / 17.98 MB, free: 5.379 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.001193/0.001194, allocations: 189.4 kB / 18.9 MB, free: 4.457 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.325/1.325, allocations: 222.9 MB / 242.6 MB, free: 13.68 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.197/0.197, allocations: 44.17 MB / 336.9 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 65.08 kB / 408.6 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1275, allocations: 60.83 MB / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4451/0.5726, allocations: 188.8 MB / 0.6427 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.5828, allocations: 7.47 MB / 0.65 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009366/0.5838, allocations: 27.81 kB / 0.65 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.5853, allocations: 394.1 kB / 0.6504 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006079/0.5914, allocations: 2.158 MB / 0.6525 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005622/0.597, allocations: 2.124 MB / 0.6546 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.5997, allocations: 2.2 MB / 0.6567 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.6007, allocations: 0.5869 MB / 0.6573 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.6046, allocations: 1.776 MB / 0.6591 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.6062, allocations: 0.919 MB / 0.66 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.6065, allocations: 92 kB / 0.66 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008823/0.6153, allocations: 5.33 MB / 0.6652 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.6161, allocations: 426.9 kB / 0.6657 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.6172, allocations: 0.5407 MB / 0.6662 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004821/0.622, allocations: 2.698 MB / 0.6688 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6221, allocations: 0 / 0.6688 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6221, allocations: 4 kB / 0.6688 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.6221, allocations: 0 / 0.6688 GB, free: 9.355 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.004625/0.6268, allocations: 1.715 MB / 0.6705 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.6268, allocations: 12.03 kB / 0.6705 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.6274, allocations: 118.8 kB / 0.6706 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6284, allocations: 0.5858 MB / 0.6712 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.6285, allocations: 117.4 kB / 0.6713 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.6287, allocations: 71.98 kB / 0.6714 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.6307, allocations: 1.162 MB / 0.6725 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.6308, allocations: 4 kB / 0.6725 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6309, allocations: 28 kB / 0.6725 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/0.631, allocations: 69.89 kB / 0.6726 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6329, allocations: 1.163 MB / 0.6737 GB, free: 4.16 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.006802/0.6397, allocations: 4.97 MB / 0.6786 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6415, allocations: 0.8145 MB / 0.6794 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.6421, allocations: 424 kB / 0.6798 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.6434, allocations: 1.626 MB / 0.6814 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.6435, allocations: 51.05 kB / 0.6814 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/0.6435, allocations: 0 / 0.6814 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01391/0.6574, allocations: 4.008 MB / 0.6853 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.6575, allocations: 111.5 kB / 0.6854 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008619/0.6584, allocations: 0.6564 MB / 0.6861 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.6585, allocations: 41.7 kB / 0.6861 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.6588, allocations: 383.5 kB / 0.6865 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.6591, allocations: 295.8 kB / 0.6868 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.6594, allocations: 194.5 kB / 0.687 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6596, allocations: 390.8 kB / 0.6873 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.6606, allocations: 497.7 kB / 0.6878 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.6619, allocations: 0.7523 MB / 0.6885 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.6641, allocations: 1.292 MB / 0.6898 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6641, allocations: 4 kB / 0.6898 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003514/0.6677, allocations: 1.684 MB / 0.6915 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6677, allocations: 8 kB / 0.6915 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6677, allocations: 8 kB / 0.6915 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00743/0.6752, allocations: 1.304 MB / 0.6927 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.6759, allocations: 163.7 kB / 0.6929 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.6787, allocations: 1.525 MB / 0.6944 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6798, allocations: 83.89 kB / 0.6945 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.68, allocations: 51.98 kB / 0.6945 GB, free: 13.79 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.000613/0.6806, allocations: 302 kB / 0.6948 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.681, allocations: 83.06 kB / 0.6949 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.6845, allocations: 1.669 MB / 0.6965 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.6845, allocations: 15.98 kB / 0.6965 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6846, allocations: 3.938 kB / 0.6965 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.6846, allocations: 3.984 kB / 0.6965 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.6892, allocations: 2.632 MB / 0.6991 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6893, allocations: 0 / 0.6991 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.6906, allocations: 259.9 kB / 0.6994 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/0.6923, allocations: 380.3 kB / 0.6997 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/0.6924, allocations: 35.92 kB / 0.6998 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.695, allocations: 2.354 MB / 0.7021 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6951, allocations: 4.031 kB / 0.7021 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/0.6989, allocations: 2.032 MB / 0.704 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.6995, allocations: 291.9 kB / 0.7043 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.6997, allocations: 23.98 kB / 0.7043 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.7007, allocations: 71.84 kB / 0.7044 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7009, allocations: 56.92 kB / 0.7045 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.701, allocations: 55.89 kB / 0.7045 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006955/0.7017, allocations: 0.4951 MB / 0.705 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7017, allocations: 0 / 0.705 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002025/0.7038, allocations: 0.6753 MB / 0.7057 GB, free: 2.035 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.00232/0.7061, allocations: 0.7982 MB / 0.7064 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.1871/0.8932, allocations: 1.427 MB / 0.7078 GB, free: 205.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.8933, allocations: 3.062 kB / 0.7078 GB, free: 205.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.8952, allocations: 0.7035 MB / 0.7085 GB, free: 205.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8977, allocations: 0.5189 MB / 0.709 GB, free: 205.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.9022, allocations: 2.535 MB / 0.7115 GB, free: 204.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.9027, allocations: 1.042 MB / 0.7125 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.9031, allocations: 101.2 kB / 0.7126 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.9031, allocations: 0 / 0.7126 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.03456/0.9376, allocations: 28.3 MB / 0.7403 GB, free: 188.9 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