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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001093/0.001093, allocations: 114.2 kB / 17.04 MB, free: 5.812 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.001006/0.001006, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2672/0.2672, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 76.8 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5154/0.6203, allocations: 196.4 MB / 0.6234 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.6365, allocations: 10.28 MB / 0.6335 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.6375, allocations: 19.88 kB / 0.6335 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.6391, allocations: 441.5 kB / 0.6339 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008569/0.6477, allocations: 2.582 MB / 0.6364 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007521/0.6552, allocations: 2.647 MB / 0.639 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.6583, allocations: 2.191 MB / 0.6412 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6594, allocations: 0.5975 MB / 0.6418 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.664, allocations: 1.954 MB / 0.6437 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.6658, allocations: 0.8683 MB / 0.6445 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.6662, allocations: 99.94 kB / 0.6446 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.677, allocations: 5.733 MB / 0.6502 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007401/0.6777, allocations: 434.9 kB / 0.6506 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008176/0.6786, allocations: 0.5329 MB / 0.6511 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.6871, allocations: 4.069 MB / 0.6551 GB, free: 13.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6871, allocations: 0 / 0.6551 GB, free: 13.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6871, allocations: 0 / 0.6551 GB, free: 13.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.977e-05/0.6872, allocations: 3.984 kB / 0.6551 GB, free: 13.97 MB / 478.1 MB 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.005249/0.6924, allocations: 1.782 MB / 0.6569 GB, free: 12.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6925, allocations: 11.89 kB / 0.6569 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.6934, allocations: 110.9 kB / 0.657 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.6954, allocations: 0.6325 MB / 0.6576 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.6956, allocations: 117.4 kB / 0.6577 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.6958, allocations: 71.89 kB / 0.6578 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.6977, allocations: 1.166 MB / 0.6589 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.6977, allocations: 4 kB / 0.6589 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6978, allocations: 32 kB / 0.6589 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.077e-05/0.6979, allocations: 61.89 kB / 0.659 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.6997, allocations: 1.167 MB / 0.6601 GB, free: 8.66 MB / 478.1 MB 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.008143/0.7079, allocations: 5.002 MB / 0.665 GB, free: 3.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.7104, allocations: 0.8219 MB / 0.6658 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009843/0.7114, allocations: 426.1 kB / 0.6662 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002422/0.7138, allocations: 1.884 MB / 0.6681 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.7139, allocations: 47.12 kB / 0.6681 GB, free: 15.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 4.268e-06/0.7139, allocations: 0 / 0.6681 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.02196/0.7359, allocations: 4.034 MB / 0.6721 GB, free: 11.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.7361, allocations: 115.5 kB / 0.6722 GB, free: 11.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.7378, allocations: 0.6641 MB / 0.6728 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.7381, allocations: 41.7 kB / 0.6729 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/0.7386, allocations: 379.6 kB / 0.6732 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/0.7393, allocations: 287.8 kB / 0.6735 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/0.74, allocations: 206.4 kB / 0.6737 GB, free: 9.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003176/0.7403, allocations: 390.8 kB / 0.6741 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.7424, allocations: 0.4938 MB / 0.6745 GB, free: 9.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.7447, allocations: 0.7455 MB / 0.6753 GB, free: 8.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.7491, allocations: 1.294 MB / 0.6765 GB, free: 6.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.7492, allocations: 0 / 0.6765 GB, free: 6.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006851/0.756, allocations: 1.688 MB / 0.6782 GB, free: 5.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.7561, allocations: 8 kB / 0.6782 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.7562, allocations: 8 kB / 0.6782 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/0.7692, allocations: 1.332 MB / 0.6795 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.7706, allocations: 157.5 kB / 0.6797 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/0.7758, allocations: 1.533 MB / 0.6811 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.7776, allocations: 51.95 kB / 0.6812 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.7779, allocations: 63.97 kB / 0.6813 GB, free: 1.914 MB / 494.1 MB 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.001007/0.7789, allocations: 293.5 kB / 0.6815 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.7794, allocations: 87.06 kB / 0.6816 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006663/0.7861, allocations: 1.631 MB / 0.6832 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.7862, allocations: 11.98 kB / 0.6832 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7862, allocations: 4 kB / 0.6832 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.7862, allocations: 11.91 kB / 0.6832 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008862/0.7951, allocations: 2.551 MB / 0.6857 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.7952, allocations: 8 kB / 0.6857 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/0.7979, allocations: 255.7 kB / 0.686 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/0.8011, allocations: 368.5 kB / 0.6863 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.8013, allocations: 39.97 kB / 0.6864 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00474/0.8061, allocations: 2.347 MB / 0.6887 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.8061, allocations: 3.938 kB / 0.6887 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007697/0.8138, allocations: 2.027 MB / 0.6907 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009905/0.8148, allocations: 291.9 kB / 0.6909 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.8152, allocations: 27.88 kB / 0.691 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.8169, allocations: 51.95 kB / 0.691 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.8172, allocations: 68.84 kB / 0.6911 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/0.8175, allocations: 51.97 kB / 0.6911 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001307/0.8188, allocations: 0.499 MB / 0.6916 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8188, allocations: 0 / 0.6916 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003487/0.8223, allocations: 0.7105 MB / 0.6923 GB, free: 6.273 MB / 0.4981 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.004102/0.8264, allocations: 0.8924 MB / 0.6932 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005287/0.8317, allocations: 1.252 MB / 0.6944 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.8318, allocations: 0 / 0.6944 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003466/0.8353, allocations: 0.7173 MB / 0.6951 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004821/0.8401, allocations: 0.5235 MB / 0.6956 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/0.8482, allocations: 2.149 MB / 0.6977 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.8493, allocations: 1.043 MB / 0.6987 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002046/0.8514, allocations: 307.9 kB / 0.699 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.852, allocations: 99.41 kB / 0.6991 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of SimCode: time 4.068e-06/0.852, allocations: 0 / 0.6991 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.067/0.919, allocations: 36.1 MB / 0.7344 GB, free: 11.13 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches