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.00153/0.00153, allocations: 107.2 kB / 17.03 MB, free: 5.664 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.001715/0.001715, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.395/1.395, 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.1962/0.1962, allocations: 43.53 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.001665/0.001665, allocations: 77.14 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09472, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.482/0.5768, allocations: 196.4 MB / 0.6234 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.5919, allocations: 10.28 MB / 0.6335 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.593, allocations: 19.88 kB / 0.6335 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.5945, allocations: 441.4 kB / 0.6339 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008741/0.6033, allocations: 2.582 MB / 0.6364 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008635/0.6119, allocations: 2.634 MB / 0.639 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.6155, allocations: 2.196 MB / 0.6412 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.6168, allocations: 0.5948 MB / 0.6417 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005045/0.6218, allocations: 1.962 MB / 0.6437 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.6233, allocations: 0.8644 MB / 0.6445 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.6234, allocations: 92 kB / 0.6446 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.6343, allocations: 5.733 MB / 0.6502 GB, free: 2.992 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.6351, allocations: 430.9 kB / 0.6506 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008424/0.6359, allocations: 0.5329 MB / 0.6511 GB, free: 2.035 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009064/0.645, allocations: 4.077 MB / 0.6551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.645, allocations: 0 / 0.6551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.6451, allocations: 4 kB / 0.6551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.6451, allocations: 0 / 0.6551 GB, free: 13.95 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.00472/0.6498, allocations: 1.785 MB / 0.6568 GB, free: 12.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.6499, allocations: 15.88 kB / 0.6569 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.6503, allocations: 110.9 kB / 0.657 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.6515, allocations: 0.6208 MB / 0.6576 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.6516, allocations: 121.4 kB / 0.6577 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.6518, allocations: 79.88 kB / 0.6578 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.6537, allocations: 1.162 MB / 0.6589 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.6538, allocations: 7.922 kB / 0.6589 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.6539, allocations: 31.98 kB / 0.6589 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.573e-05/0.654, allocations: 61.97 kB / 0.659 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.6559, allocations: 1.171 MB / 0.6601 GB, free: 8.625 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.006827/0.6628, allocations: 4.985 MB / 0.665 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.6645, allocations: 0.8275 MB / 0.6658 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.6651, allocations: 430.1 kB / 0.6662 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/0.6668, allocations: 1.884 MB / 0.6681 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.6668, allocations: 47.12 kB / 0.6681 GB, free: 15.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.585e-06/0.6669, allocations: 0 / 0.6681 GB, free: 15.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.01346/0.6803, allocations: 4.035 MB / 0.6721 GB, free: 11.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.6804, allocations: 115.4 kB / 0.6722 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.6813, allocations: 0.6602 MB / 0.6728 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.6815, allocations: 45.7 kB / 0.6729 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.6818, allocations: 379.6 kB / 0.6732 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.6821, allocations: 291.8 kB / 0.6735 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.6824, allocations: 198.4 kB / 0.6737 GB, free: 9.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.6826, allocations: 394.7 kB / 0.6741 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.6836, allocations: 497.7 kB / 0.6745 GB, free: 9.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.6849, allocations: 0.7571 MB / 0.6753 GB, free: 8.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.6872, allocations: 1.285 MB / 0.6765 GB, free: 6.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.6872, allocations: 4 kB / 0.6765 GB, free: 6.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003518/0.6907, allocations: 1.684 MB / 0.6782 GB, free: 5.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6908, allocations: 8 kB / 0.6782 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.6908, allocations: 11.98 kB / 0.6782 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007128/0.6979, allocations: 1.328 MB / 0.6795 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.6987, allocations: 155.8 kB / 0.6796 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.7014, allocations: 1.533 MB / 0.6811 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009585/0.7023, allocations: 59.94 kB / 0.6812 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.7025, allocations: 57.8 kB / 0.6812 GB, free: 1.887 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.0005477/0.703, allocations: 293.5 kB / 0.6815 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.7033, allocations: 90.91 kB / 0.6816 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.7066, allocations: 1.632 MB / 0.6832 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.7067, allocations: 11.98 kB / 0.6832 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7067, allocations: 0 / 0.6832 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.7067, allocations: 7.922 kB / 0.6832 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.7112, allocations: 2.555 MB / 0.6857 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.7112, allocations: 4.031 kB / 0.6857 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.7125, allocations: 263.7 kB / 0.686 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/0.7142, allocations: 372.3 kB / 0.6863 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.7143, allocations: 33.11 kB / 0.6864 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.7168, allocations: 2.356 MB / 0.6887 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7168, allocations: 8.016 kB / 0.6887 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.7205, allocations: 2.019 MB / 0.6906 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.721, allocations: 288 kB / 0.6909 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.7212, allocations: 27.94 kB / 0.6909 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.722, allocations: 55.94 kB / 0.691 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.7222, allocations: 56.92 kB / 0.6911 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.7223, allocations: 60.45 kB / 0.6911 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006376/0.7229, allocations: 0.4912 MB / 0.6916 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.633e-06/0.723, allocations: 0 / 0.6916 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002258/0.7252, allocations: 0.7104 MB / 0.6923 GB, free: 6.254 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.001994/0.7272, allocations: 0.8963 MB / 0.6932 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.7299, allocations: 1.253 MB / 0.6944 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7299, allocations: 0 / 0.6944 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.7316, allocations: 0.7211 MB / 0.6951 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.7337, allocations: 0.5269 MB / 0.6956 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.7381, allocations: 2.141 MB / 0.6977 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.7387, allocations: 1.043 MB / 0.6987 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008576/0.7395, allocations: 315.9 kB / 0.699 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.7398, allocations: 99.41 kB / 0.6991 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of SimCode: time 9.21e-07/0.7398, allocations: 4 kB / 0.6991 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.05468/0.7945, allocations: 36.09 MB / 0.7344 GB, free: 11.11 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 cvode -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