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.001395/0.001395, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001624/0.001624, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.556/1.556, allocations: 222.9 MB / 243 MB, free: 15.09 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.2135/0.2135, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 66.11 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4153/0.5268, allocations: 190.5 MB / 0.6457 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009704/0.5366, allocations: 7.398 MB / 0.653 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.5372, allocations: 19.88 kB / 0.653 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.5383, allocations: 441.4 kB / 0.6534 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.5435, allocations: 2.342 MB / 0.6557 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005484/0.549, allocations: 2.292 MB / 0.6579 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.5518, allocations: 2.181 MB / 0.6601 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008391/0.5527, allocations: 0.6066 MB / 0.6606 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.5564, allocations: 1.795 MB / 0.6624 GB, free: 432 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.5576, allocations: 0.8605 MB / 0.6632 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.5578, allocations: 96 kB / 0.6633 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.5679, allocations: 5.179 MB / 0.6684 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006086/0.5686, allocations: 427 kB / 0.6688 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000755/0.5693, allocations: 0.5368 MB / 0.6693 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007764/0.5771, allocations: 3.788 MB / 0.673 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5772, allocations: 0 / 0.673 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5772, allocations: 0 / 0.673 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.5772, allocations: 0 / 0.673 GB, free: 5.523 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.004083/0.5813, allocations: 1.711 MB / 0.6747 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5813, allocations: 8.031 kB / 0.6747 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.5817, allocations: 106.9 kB / 0.6748 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5828, allocations: 0.6247 MB / 0.6754 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.583, allocations: 118.3 kB / 0.6755 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5831, allocations: 71.98 kB / 0.6756 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.5849, allocations: 1.167 MB / 0.6767 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.5849, allocations: 0 / 0.6767 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/0.585, allocations: 28 kB / 0.6768 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.5851, allocations: 61.91 kB / 0.6768 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.5869, allocations: 1.159 MB / 0.678 GB, free: 328 kB / 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.00642/0.5933, allocations: 4.983 MB / 0.6828 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.595, allocations: 0.8169 MB / 0.6836 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.5956, allocations: 426 kB / 0.684 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.5968, allocations: 1.63 MB / 0.6856 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5969, allocations: 47.06 kB / 0.6857 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/0.5969, allocations: 0 / 0.6857 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01307/0.61, allocations: 4.001 MB / 0.6896 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.6101, allocations: 111.5 kB / 0.6897 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.6109, allocations: 0.6602 MB / 0.6903 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.611, allocations: 41.7 kB / 0.6904 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.6113, allocations: 383.5 kB / 0.6907 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.6115, allocations: 299.8 kB / 0.691 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.6118, allocations: 194.4 kB / 0.6912 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.612, allocations: 390.8 kB / 0.6916 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009642/0.613, allocations: 497.7 kB / 0.692 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.6141, allocations: 0.7484 MB / 0.6928 GB, free: 208 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.6164, allocations: 1.293 MB / 0.694 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6164, allocations: 0 / 0.694 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003412/0.6198, allocations: 1.688 MB / 0.6957 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6198, allocations: 8 kB / 0.6957 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6198, allocations: 8 kB / 0.6957 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007077/0.6269, allocations: 1.296 MB / 0.697 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.6277, allocations: 163.7 kB / 0.6971 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.6305, allocations: 1.533 MB / 0.6986 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/0.6315, allocations: 47.97 kB / 0.6987 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.6317, allocations: 51.98 kB / 0.6987 GB, free: 9.973 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.0006772/0.6324, allocations: 293.5 kB / 0.699 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/0.6327, allocations: 91.05 kB / 0.6991 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.6364, allocations: 1.679 MB / 0.7007 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.6364, allocations: 12 kB / 0.7007 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6365, allocations: 3.938 kB / 0.7007 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.6365, allocations: 3.984 kB / 0.7007 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.6413, allocations: 2.624 MB / 0.7033 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.6414, allocations: 0 / 0.7033 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.6427, allocations: 267.9 kB / 0.7036 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.6444, allocations: 372.3 kB / 0.7039 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.6445, allocations: 31.97 kB / 0.7039 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.6471, allocations: 2.352 MB / 0.7062 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6471, allocations: 0 / 0.7062 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2322/0.8793, allocations: 2.033 MB / 0.7082 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009133/0.8802, allocations: 281.8 kB / 0.7085 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.8804, allocations: 30.28 kB / 0.7085 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008881/0.8813, allocations: 52.66 kB / 0.7086 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.8815, allocations: 59.22 kB / 0.7086 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.8816, allocations: 54.05 kB / 0.7087 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007425/0.8824, allocations: 0.4999 MB / 0.7092 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8824, allocations: 0.625 kB / 0.7092 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002133/0.8845, allocations: 0.6606 MB / 0.7098 GB, free: 204.7 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.001875/0.8864, allocations: 0.7872 MB / 0.7106 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.8892, allocations: 1.246 MB / 0.7118 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8892, allocations: 1.531 kB / 0.7118 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.8909, allocations: 0.7216 MB / 0.7125 GB, free: 204.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8932, allocations: 0.5205 MB / 0.713 GB, free: 204.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.8977, allocations: 2.151 MB / 0.7151 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.8983, allocations: 1.045 MB / 0.7161 GB, free: 202.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001046/0.8993, allocations: 374.4 kB / 0.7165 GB, free: 202.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.8996, allocations: 88.95 kB / 0.7166 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.8996, allocations: 0 / 0.7166 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.04409/0.9437, allocations: 34.51 MB / 0.7503 GB, free: 179.1 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 -s gbode -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