Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001975, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 73.58 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 62.44 MB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4963/0.6428, allocations: 194 MB / 0.6589 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.6539, allocations: 7.461 MB / 0.6662 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.6551, allocations: 15.88 kB / 0.6662 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.6567, allocations: 437.5 kB / 0.6666 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00718/0.6639, allocations: 2.348 MB / 0.6689 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006802/0.6707, allocations: 2.314 MB / 0.6712 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.6739, allocations: 2.192 MB / 0.6733 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.6752, allocations: 0.6054 MB / 0.6739 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.6799, allocations: 1.826 MB / 0.6757 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.6819, allocations: 0.8528 MB / 0.6765 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.6823, allocations: 96 kB / 0.6766 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.6936, allocations: 5.194 MB / 0.6817 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.6946, allocations: 430.9 kB / 0.6821 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.696, allocations: 0.5329 MB / 0.6826 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.7062, allocations: 3.816 MB / 0.6863 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7063, allocations: 0 / 0.6863 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7063, allocations: 0 / 0.6863 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.715e-05/0.7064, allocations: 0 / 0.6863 GB, free: 4.969 MB / 0.5137 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.005827/0.7122, allocations: 1.734 MB / 0.688 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.7122, allocations: 19.91 kB / 0.6881 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.7129, allocations: 111.4 kB / 0.6882 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.7141, allocations: 0.5859 MB / 0.6887 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.7142, allocations: 113.4 kB / 0.6888 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.7144, allocations: 75.98 kB / 0.6889 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.7166, allocations: 1.165 MB / 0.6901 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.7166, allocations: 0 / 0.6901 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.7167, allocations: 36 kB / 0.6901 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.372e-05/0.7168, allocations: 62.41 kB / 0.6901 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.7189, allocations: 1.159 MB / 0.6913 GB, free: 15.75 MB / 0.5294 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.007417/0.7264, allocations: 5.001 MB / 0.6962 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.7282, allocations: 0.8184 MB / 0.697 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/0.7289, allocations: 418.3 kB / 0.6974 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.7303, allocations: 1.626 MB / 0.6989 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.7304, allocations: 43.12 kB / 0.699 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 3.476e-06/0.7304, allocations: 0 / 0.699 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01417/0.7446, allocations: 4.008 MB / 0.7029 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.7447, allocations: 111.5 kB / 0.703 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7457, allocations: 0.668 MB / 0.7037 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.7459, allocations: 45.64 kB / 0.7037 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.7462, allocations: 383.5 kB / 0.7041 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.7465, allocations: 287.9 kB / 0.7043 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.7469, allocations: 198.4 kB / 0.7045 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.7471, allocations: 390.8 kB / 0.7049 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7481, allocations: 493.7 kB / 0.7054 GB, free: 492 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2573/1.005, allocations: 0.751 MB / 0.7061 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/1.008, allocations: 1.285 MB / 0.7074 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.008, allocations: 2.5 kB / 0.7074 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004056/1.012, allocations: 1.689 MB / 0.709 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/1.012, allocations: 8.031 kB / 0.709 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/1.012, allocations: 8.359 kB / 0.709 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007756/1.02, allocations: 1.308 MB / 0.7103 GB, free: 196 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.021, allocations: 160.7 kB / 0.7105 GB, free: 196 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/1.024, allocations: 1.523 MB / 0.7119 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/1.024, allocations: 52.11 kB / 0.712 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/1.025, allocations: 57.09 kB / 0.7121 GB, free: 195.1 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.0005475/1.025, allocations: 295.7 kB / 0.7123 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.025, allocations: 88.12 kB / 0.7124 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/1.029, allocations: 1.68 MB / 0.7141 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.029, allocations: 12.83 kB / 0.7141 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/1.029, allocations: 0 / 0.7141 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/1.029, allocations: 7.188 kB / 0.7141 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/1.034, allocations: 2.634 MB / 0.7167 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.034, allocations: 1.375 kB / 0.7167 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.035, allocations: 258.9 kB / 0.7169 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/1.037, allocations: 375 kB / 0.7173 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/1.037, allocations: 29.86 kB / 0.7173 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/1.039, allocations: 2.362 MB / 0.7196 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.039, allocations: 4.453 kB / 0.7196 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004423/1.044, allocations: 2.029 MB / 0.7216 GB, free: 190 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/1.045, allocations: 289.3 kB / 0.7219 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.045, allocations: 24.66 kB / 0.7219 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/1.046, allocations: 57.25 kB / 0.7219 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.046, allocations: 62.91 kB / 0.722 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.046, allocations: 46.05 kB / 0.722 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007506/1.047, allocations: 0.4967 MB / 0.7225 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.047, allocations: 0 / 0.7225 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002548/1.049, allocations: 0.684 MB / 0.7232 GB, free: 189.5 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.002174/1.051, allocations: 0.8195 MB / 0.724 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003468/1.055, allocations: 1.434 MB / 0.7254 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.055, allocations: 5.312 kB / 0.7254 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/1.057, allocations: 0.6993 MB / 0.7261 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.059, allocations: 0.5218 MB / 0.7266 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/1.063, allocations: 2.236 MB / 0.7288 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/1.064, allocations: 1.039 MB / 0.7298 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/1.064, allocations: 102 kB / 0.7299 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.064, allocations: 0 / 0.7299 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.03453/1.099, allocations: 28.53 MB / 0.7577 GB, free: 161.6 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p