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.001174/0.001174, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.00107/0.00107, allocations: 192 kB / 18.56 MB, free: 4.434 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.341/1.341, allocations: 222.9 MB / 242.2 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.201/0.201, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 65.02 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5079/0.6268, allocations: 190.5 MB / 0.6443 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.6371, allocations: 7.396 MB / 0.6516 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.6383, allocations: 19.81 kB / 0.6516 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.6396, allocations: 433.5 kB / 0.652 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.6455, allocations: 2.342 MB / 0.6543 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005501/0.6511, allocations: 2.283 MB / 0.6565 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.654, allocations: 2.188 MB / 0.6586 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.6549, allocations: 0.5986 MB / 0.6592 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.6588, allocations: 1.803 MB / 0.661 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.6601, allocations: 0.8644 MB / 0.6618 GB, free: 32 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.6604, allocations: 96.05 kB / 0.6619 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00913/0.6695, allocations: 5.136 MB / 0.6669 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006443/0.6702, allocations: 423 kB / 0.6673 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.6713, allocations: 0.5329 MB / 0.6679 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.6811, allocations: 3.769 MB / 0.6715 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6812, allocations: 3.984 kB / 0.6715 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6812, allocations: 0 / 0.6715 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.885e-05/0.6813, allocations: 0 / 0.6715 GB, free: 6.062 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.006148/0.6874, allocations: 1.719 MB / 0.6732 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6875, allocations: 8.031 kB / 0.6732 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.6881, allocations: 110.9 kB / 0.6733 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.6893, allocations: 0.5896 MB / 0.6739 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.6895, allocations: 125.4 kB / 0.674 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.6897, allocations: 64 kB / 0.6741 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.6918, allocations: 1.166 MB / 0.6752 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.6919, allocations: 0 / 0.6752 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.692, allocations: 35.97 kB / 0.6753 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/0.6921, allocations: 65.91 kB / 0.6753 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.6941, allocations: 1.163 MB / 0.6765 GB, free: 0.8672 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.007298/0.7014, allocations: 4.988 MB / 0.6813 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.7033, allocations: 0.8164 MB / 0.6821 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.704, allocations: 431.6 kB / 0.6825 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.7057, allocations: 1.626 MB / 0.6841 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/0.7058, allocations: 43.12 kB / 0.6842 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 3.005e-06/0.7058, allocations: 0 / 0.6842 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01379/0.7196, allocations: 4.008 MB / 0.6881 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.7197, allocations: 111.5 kB / 0.6882 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.7205, allocations: 0.6563 MB / 0.6888 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.7206, allocations: 45.7 kB / 0.6889 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.7209, allocations: 387.5 kB / 0.6892 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.7211, allocations: 291.9 kB / 0.6895 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.7215, allocations: 198.4 kB / 0.6897 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7216, allocations: 386.8 kB / 0.6901 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/0.7225, allocations: 493.7 kB / 0.6906 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.7237, allocations: 0.7562 MB / 0.6913 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.7258, allocations: 1.285 MB / 0.6925 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7258, allocations: 0 / 0.6925 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003448/0.7293, allocations: 1.68 MB / 0.6942 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.7293, allocations: 11.98 kB / 0.6942 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.7293, allocations: 8 kB / 0.6942 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008069/0.7374, allocations: 1.317 MB / 0.6955 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.7385, allocations: 155.7 kB / 0.6956 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.7421, allocations: 1.529 MB / 0.6971 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.7433, allocations: 52 kB / 0.6972 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.7435, allocations: 56.86 kB / 0.6972 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.000692/0.7442, allocations: 297.5 kB / 0.6975 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.7446, allocations: 83.06 kB / 0.6976 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/0.7485, allocations: 1.676 MB / 0.6992 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.7485, allocations: 12 kB / 0.6993 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.7485, allocations: 3.938 kB / 0.6993 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.7486, allocations: 3.984 kB / 0.6993 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.7536, allocations: 2.63 MB / 0.7018 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.7536, allocations: 4 kB / 0.7018 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.7549, allocations: 263.9 kB / 0.7021 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.7566, allocations: 376.3 kB / 0.7024 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/0.7567, allocations: 39.97 kB / 0.7025 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.7594, allocations: 2.347 MB / 0.7048 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7594, allocations: 1.406 kB / 0.7048 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.7634, allocations: 2.028 MB / 0.7068 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/0.764, allocations: 287.9 kB / 0.707 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.7642, allocations: 27.94 kB / 0.7071 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.7651, allocations: 59.94 kB / 0.7071 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.221/0.9862, allocations: 56.25 kB / 0.7072 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003435/0.9866, allocations: 47.41 kB / 0.7072 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001009/0.9876, allocations: 0.4973 MB / 0.7077 GB, free: 205 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9876, allocations: 0 / 0.7077 GB, free: 205 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002859/0.9905, allocations: 0.6651 MB / 0.7083 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.002048/0.9925, allocations: 0.792 MB / 0.7091 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.9958, allocations: 1.43 MB / 0.7105 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.9959, allocations: 2.25 kB / 0.7105 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9976, allocations: 0.7225 MB / 0.7112 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1, allocations: 0.5166 MB / 0.7117 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/1.004, allocations: 2.167 MB / 0.7138 GB, free: 203.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/1.005, allocations: 1.046 MB / 0.7149 GB, free: 203.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001193/1.006, allocations: 369.2 kB / 0.7152 GB, free: 203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/1.006, allocations: 86.83 kB / 0.7153 GB, free: 203 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/1.006, allocations: 1.094 kB / 0.7153 GB, free: 203 MB / 0.5294 GB Notification: Performance of Templates: time 0.04546/1.052, allocations: 34.53 MB / 0.749 GB, free: 179.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/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