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.0013/0.0013, allocations: 112.4 kB / 16.64 MB, free: 5.914 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.001282/0.001282, allocations: 194.4 kB / 17.56 MB, free: 5.508 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.414/1.414, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.2209/0.2209, allocations: 43.51 MB / 314.3 MB, free: 0.7031 MB / 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.001616/0.001616, allocations: 73.25 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4432/0.5488, allocations: 194.7 MB / 0.6204 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.5621, allocations: 10.33 MB / 0.6305 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.5633, allocations: 23.81 kB / 0.6306 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.5646, allocations: 398 kB / 0.6309 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007042/0.5717, allocations: 2.381 MB / 0.6333 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006659/0.5784, allocations: 2.427 MB / 0.6356 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.5813, allocations: 2.2 MB / 0.6378 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000939/0.5823, allocations: 0.5894 MB / 0.6384 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.587, allocations: 1.912 MB / 0.6402 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.5884, allocations: 0.9229 MB / 0.6411 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.5886, allocations: 92 kB / 0.6412 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009609/0.5982, allocations: 5.776 MB / 0.6469 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007643/0.5991, allocations: 434.9 kB / 0.6473 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000803/0.5999, allocations: 0.5368 MB / 0.6478 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.6059, allocations: 2.869 MB / 0.6506 GB, free: 2.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6059, allocations: 0 / 0.6506 GB, free: 2.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6059, allocations: 3.938 kB / 0.6506 GB, free: 2.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.606, allocations: 0 / 0.6506 GB, free: 2.25 MB / 462.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.004436/0.6104, allocations: 1.797 MB / 0.6524 GB, free: 408 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6105, allocations: 15.89 kB / 0.6524 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.6109, allocations: 107 kB / 0.6525 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.6119, allocations: 0.5992 MB / 0.6531 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.612, allocations: 117.4 kB / 0.6532 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6122, allocations: 71.98 kB / 0.6532 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.614, allocations: 1.162 MB / 0.6544 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.614, allocations: 7.938 kB / 0.6544 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6141, allocations: 39.97 kB / 0.6544 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.6142, allocations: 57.97 kB / 0.6545 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.616, allocations: 1.171 MB / 0.6556 GB, free: 12.95 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.00634/0.6223, allocations: 4.997 MB / 0.6605 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.624, allocations: 0.8242 MB / 0.6613 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.6246, allocations: 427.7 kB / 0.6617 GB, free: 6.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.6261, allocations: 1.888 MB / 0.6636 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.6262, allocations: 43.12 kB / 0.6636 GB, free: 4.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/0.6262, allocations: 0 / 0.6636 GB, free: 4.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01348/0.6397, allocations: 4.027 MB / 0.6675 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.6398, allocations: 111.5 kB / 0.6676 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.6408, allocations: 0.6641 MB / 0.6683 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6409, allocations: 41.7 kB / 0.6683 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.6412, allocations: 387.4 kB / 0.6687 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.6415, allocations: 287.9 kB / 0.669 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.6418, allocations: 198.4 kB / 0.6692 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.642, allocations: 390.7 kB / 0.6695 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.6429, allocations: 0.4899 MB / 0.67 GB, free: 13.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.6441, allocations: 0.7532 MB / 0.6707 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.6463, allocations: 1.285 MB / 0.672 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.6463, allocations: 4 kB / 0.672 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003397/0.6497, allocations: 1.684 MB / 0.6736 GB, free: 9.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6498, allocations: 11.41 kB / 0.6737 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.6498, allocations: 8 kB / 0.6737 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007219/0.657, allocations: 1.343 MB / 0.675 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.6578, allocations: 159.7 kB / 0.6751 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.6606, allocations: 1.533 MB / 0.6766 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6618, allocations: 88.8 kB / 0.6767 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.6619, allocations: 63.97 kB / 0.6768 GB, free: 6.172 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.0005748/0.6625, allocations: 297.4 kB / 0.6771 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.6627, allocations: 86.97 kB / 0.6771 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.6663, allocations: 1.632 MB / 0.6787 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.6663, allocations: 12 kB / 0.6787 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6663, allocations: 0 / 0.6787 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.6663, allocations: 7.922 kB / 0.6788 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/0.6709, allocations: 2.556 MB / 0.6812 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.6709, allocations: 4 kB / 0.6813 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.6723, allocations: 259.7 kB / 0.6815 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.674, allocations: 368.5 kB / 0.6818 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.6742, allocations: 39.97 kB / 0.6819 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.6769, allocations: 2.356 MB / 0.6842 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6769, allocations: 4.031 kB / 0.6842 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.6808, allocations: 2.022 MB / 0.6862 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.6814, allocations: 291.9 kB / 0.6864 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.6817, allocations: 23.98 kB / 0.6865 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.6826, allocations: 71.88 kB / 0.6865 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.6827, allocations: 60.91 kB / 0.6866 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.6829, allocations: 55.97 kB / 0.6866 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006381/0.6835, allocations: 0.4951 MB / 0.6871 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6835, allocations: 4 kB / 0.6871 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002153/0.6857, allocations: 0.7027 MB / 0.6878 GB, free: 10.51 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.002231/0.6879, allocations: 0.9042 MB / 0.6887 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.6913, allocations: 1.452 MB / 0.6901 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6914, allocations: 0 / 0.6901 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.6932, allocations: 0.7132 MB / 0.6908 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.6956, allocations: 0.5111 MB / 0.6913 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.7006, allocations: 2.532 MB / 0.6938 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.7013, allocations: 1.043 MB / 0.6948 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.7018, allocations: 107.4 kB / 0.6949 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.7018, allocations: 0 / 0.6949 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.04253/0.7443, allocations: 29.21 MB / 0.7234 GB, free: 5.938 MB / 0.5294 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches