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.001545/0.001545, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001834/0.001834, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.397/1.397, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2417/0.2417, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 63.8 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 60.81 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5581/0.6992, allocations: 190.5 MB / 0.645 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.71, allocations: 7.39 MB / 0.6522 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.7111, allocations: 23.81 kB / 0.6522 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7128, allocations: 437.5 kB / 0.6526 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.7203, allocations: 2.345 MB / 0.6549 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007294/0.7276, allocations: 2.285 MB / 0.6572 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.731, allocations: 2.188 MB / 0.6593 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.7322, allocations: 0.6103 MB / 0.6599 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00496/0.7372, allocations: 1.799 MB / 0.6616 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.7391, allocations: 0.8566 MB / 0.6625 GB, free: 36 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.7396, allocations: 96.05 kB / 0.6626 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.7505, allocations: 5.136 MB / 0.6676 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.7516, allocations: 423 kB / 0.668 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.7534, allocations: 0.5407 MB / 0.6685 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.7651, allocations: 3.769 MB / 0.6722 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7651, allocations: 0 / 0.6722 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7651, allocations: 4 kB / 0.6722 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.308e-05/0.7652, allocations: 0 / 0.6722 GB, free: 6.059 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.006022/0.7712, allocations: 1.711 MB / 0.6739 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7713, allocations: 12.03 kB / 0.6739 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.7719, allocations: 110.9 kB / 0.674 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.7733, allocations: 0.5935 MB / 0.6746 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.7735, allocations: 117.4 kB / 0.6747 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.7737, allocations: 71.98 kB / 0.6748 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.7759, allocations: 1.163 MB / 0.6759 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.776, allocations: 0 / 0.6759 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.7761, allocations: 32 kB / 0.6759 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.7762, allocations: 57.91 kB / 0.676 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.7784, allocations: 1.167 MB / 0.6771 GB, free: 0.875 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.008017/0.7864, allocations: 4.994 MB / 0.682 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.7883, allocations: 0.8203 MB / 0.6828 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.7891, allocations: 420 kB / 0.6832 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.7906, allocations: 1.63 MB / 0.6848 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.7907, allocations: 39.12 kB / 0.6848 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 9.798e-06/0.7907, allocations: 0 / 0.6848 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01443/0.8051, allocations: 4.008 MB / 0.6887 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.8052, allocations: 111.5 kB / 0.6888 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.8065, allocations: 0.6641 MB / 0.6895 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.8066, allocations: 41.7 kB / 0.6895 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.807, allocations: 387.5 kB / 0.6899 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.8073, allocations: 291.9 kB / 0.6902 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.8077, allocations: 198.4 kB / 0.6904 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.8079, allocations: 390.8 kB / 0.6907 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.8089, allocations: 494.6 kB / 0.6912 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.8102, allocations: 0.7523 MB / 0.6919 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.8126, allocations: 1.289 MB / 0.6932 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.8127, allocations: 0 / 0.6932 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00365/0.8163, allocations: 1.684 MB / 0.6949 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.8164, allocations: 8.594 kB / 0.6949 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8164, allocations: 8 kB / 0.6949 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007425/0.8238, allocations: 1.309 MB / 0.6961 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.8246, allocations: 155.7 kB / 0.6963 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.8276, allocations: 1.531 MB / 0.6978 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.8287, allocations: 60 kB / 0.6978 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.8289, allocations: 51.98 kB / 0.6979 GB, free: 10.51 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.0006949/0.8296, allocations: 289.5 kB / 0.6982 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.83, allocations: 87.05 kB / 0.6983 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.8338, allocations: 1.692 MB / 0.6999 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.8339, allocations: 8 kB / 0.6999 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.8339, allocations: 3.938 kB / 0.6999 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.8339, allocations: 3.984 kB / 0.6999 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.8389, allocations: 2.629 MB / 0.7025 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.839, allocations: 4 kB / 0.7025 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.8403, allocations: 259.7 kB / 0.7027 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.8421, allocations: 384.4 kB / 0.7031 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.8423, allocations: 39.84 kB / 0.7031 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.845, allocations: 2.347 MB / 0.7054 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.845, allocations: 4.031 kB / 0.7054 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.8491, allocations: 2.024 MB / 0.7074 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/0.8497, allocations: 288 kB / 0.7077 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.85, allocations: 31.94 kB / 0.7077 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009461/0.8509, allocations: 51.94 kB / 0.7078 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2647/1.116, allocations: 54.66 kB / 0.7078 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004808/1.116, allocations: 49.66 kB / 0.7079 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001091/1.117, allocations: 0.4962 MB / 0.7084 GB, free: 205 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.117, allocations: 0.5938 kB / 0.7084 GB, free: 205 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003455/1.121, allocations: 0.6631 MB / 0.709 GB, free: 205 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.002342/1.123, allocations: 0.7947 MB / 0.7098 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.127, allocations: 1.426 MB / 0.7112 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.127, allocations: 5.688 kB / 0.7112 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.129, allocations: 0.7066 MB / 0.7119 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.132, allocations: 0.5172 MB / 0.7124 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/1.136, allocations: 2.231 MB / 0.7146 GB, free: 203.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/1.137, allocations: 1.042 MB / 0.7156 GB, free: 203.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.138, allocations: 98.41 kB / 0.7157 GB, free: 203.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.282e-06/1.138, allocations: 1.531 kB / 0.7157 GB, free: 203.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.03933/1.177, allocations: 28.28 MB / 0.7433 GB, free: 185.8 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