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.001083/0.001083, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001017/0.001017, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2156/0.2156, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4629, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2553/0.7182, allocations: 190.5 MB / 0.705 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.7303, allocations: 7.39 MB / 0.7122 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.7317, allocations: 23.88 kB / 0.7122 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.7334, allocations: 441.4 kB / 0.7126 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008025/0.7415, allocations: 2.331 MB / 0.7149 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008209/0.7497, allocations: 2.301 MB / 0.7172 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4945/1.244, allocations: 2.183 MB / 0.7193 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/1.246, allocations: 0.5914 MB / 0.7199 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/1.252, allocations: 1.799 MB / 0.7216 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/1.254, allocations: 0.8607 MB / 0.7225 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/1.254, allocations: 94.88 kB / 0.7226 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/1.267, allocations: 5.177 MB / 0.7276 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/1.268, allocations: 428.5 kB / 0.728 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/1.27, allocations: 0.5355 MB / 0.7286 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/1.285, allocations: 3.787 MB / 0.7323 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/1.285, allocations: 10.66 kB / 0.7323 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.599e-06/1.285, allocations: 0 / 0.7323 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.125e-05/1.285, allocations: 1.203 kB / 0.7323 GB, free: 4.078 MB / 0.5606 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.005781/1.291, allocations: 1.707 MB / 0.7339 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.291, allocations: 10.44 kB / 0.7339 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/1.292, allocations: 113.5 kB / 0.734 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/1.293, allocations: 0.616 MB / 0.7346 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/1.293, allocations: 116.3 kB / 0.7348 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.293, allocations: 72.62 kB / 0.7348 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.295, allocations: 1.166 MB / 0.736 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.295, allocations: 0 / 0.736 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/1.295, allocations: 38.36 kB / 0.736 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.008e-05/1.295, allocations: 64.34 kB / 0.7361 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.297, allocations: 1.158 MB / 0.7372 GB, free: 18.63 MB / 0.5762 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.006909/1.304, allocations: 4.969 MB / 0.742 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/1.306, allocations: 0.8154 MB / 0.7428 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/1.307, allocations: 421.3 kB / 0.7432 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/1.309, allocations: 1.628 MB / 0.7448 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/1.309, allocations: 58.56 kB / 0.7449 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 4.027e-06/1.309, allocations: 0 / 0.7449 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01733/1.326, allocations: 4.008 MB / 0.7488 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.326, allocations: 114 kB / 0.7489 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.327, allocations: 0.6615 MB / 0.7496 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/1.328, allocations: 42.02 kB / 0.7496 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/1.328, allocations: 390.1 kB / 0.75 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/1.328, allocations: 286.9 kB / 0.7502 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/1.329, allocations: 197.5 kB / 0.7504 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002193/1.329, allocations: 389.6 kB / 0.7508 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/1.33, allocations: 493.1 kB / 0.7513 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.332, allocations: 0.7589 MB / 0.752 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/1.335, allocations: 1.28 MB / 0.7533 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.335, allocations: 2.156 kB / 0.7533 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004748/1.34, allocations: 1.677 MB / 0.7549 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/1.34, allocations: 13.41 kB / 0.7549 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/1.34, allocations: 11.19 kB / 0.7549 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008204/1.348, allocations: 1.307 MB / 0.7562 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/1.349, allocations: 157.3 kB / 0.7564 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/1.352, allocations: 1.528 MB / 0.7578 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.353, allocations: 50.97 kB / 0.7579 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.353, allocations: 55.64 kB / 0.758 GB, free: 11.41 MB / 0.5762 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.0009637/1.354, allocations: 302.3 kB / 0.7582 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/1.355, allocations: 90.33 kB / 0.7583 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/1.36, allocations: 1.668 MB / 0.76 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/1.36, allocations: 9.469 kB / 0.76 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.36, allocations: 0 / 0.76 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.36, allocations: 9.172 kB / 0.76 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005353/1.365, allocations: 2.633 MB / 0.7625 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.365, allocations: 2.25 kB / 0.7625 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.366, allocations: 263.6 kB / 0.7628 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.368, allocations: 376.5 kB / 0.7632 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/1.368, allocations: 30.72 kB / 0.7632 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/1.371, allocations: 2.358 MB / 0.7655 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.371, allocations: 3.469 kB / 0.7655 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/1.375, allocations: 2.024 MB / 0.7675 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/1.375, allocations: 294.4 kB / 0.7677 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.376, allocations: 23.38 kB / 0.7678 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/1.376, allocations: 55.31 kB / 0.7678 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.376, allocations: 59.97 kB / 0.7679 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.377, allocations: 55.38 kB / 0.7679 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007607/1.377, allocations: 0.4968 MB / 0.7684 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.377, allocations: 0.5625 kB / 0.7684 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002756/1.38, allocations: 0.6641 MB / 0.7691 GB, free: 8.047 MB / 0.5762 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.002207/1.382, allocations: 0.7973 MB / 0.7698 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002755/1.385, allocations: 1.243 MB / 0.7711 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.385, allocations: 2.75 kB / 0.7711 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.387, allocations: 0.7119 MB / 0.7718 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.39, allocations: 0.517 MB / 0.7723 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/1.395, allocations: 2.154 MB / 0.7744 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/1.396, allocations: 1.045 MB / 0.7754 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001304/1.397, allocations: 369.8 kB / 0.7757 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.397, allocations: 87.66 kB / 0.7758 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/1.397, allocations: 1.094 kB / 0.7758 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of Templates: time 0.06635/1.464, allocations: 35.21 MB / 0.8102 GB, free: 6.781 MB / 0.6075 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