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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009466/0.0009467, allocations: 187.4 kB / 18.09 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 242.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008655, allocations: 103.9 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3759/0.3759, allocations: 44.15 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004301, allocations: 12 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4274, allocations: 61.88 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.684/8.112, allocations: 3.555 GB / 4.066 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/8.112, allocations: 99.92 kB / 4.066 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.459/9.572, allocations: 410.4 MB / 4.467 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/9.572, allocations: 0 / 4.467 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.651e-05/9.572, allocations: 25.06 kB / 4.467 GB, free: 65.64 MB / 0.5261 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.008184/9.58, allocations: 2.297 MB / 4.469 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/9.58, allocations: 11.44 kB / 4.469 GB, free: 64.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000703/9.581, allocations: 113.4 kB / 4.469 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/9.582, allocations: 0.6465 MB / 4.47 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/9.583, allocations: 123.4 kB / 4.47 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/9.583, allocations: 65.03 kB / 4.47 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/9.585, allocations: 1.154 MB / 4.471 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/9.585, allocations: 6.281 kB / 4.471 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/9.585, allocations: 33.25 kB / 4.471 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/9.585, allocations: 55.56 kB / 4.471 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/9.587, allocations: 1.136 MB / 4.472 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00613/9.593, allocations: 4.655 MB / 4.477 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/9.595, allocations: 0.804 MB / 4.478 GB, free: 61.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/9.595, allocations: 417.2 kB / 4.478 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/9.596, allocations: 1.629 MB / 4.48 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/9.596, allocations: 43.31 kB / 4.48 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.346e-06/9.596, allocations: 0 / 4.48 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01241/9.609, allocations: 4.287 MB / 4.484 GB, free: 59.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/9.609, allocations: 114.6 kB / 4.484 GB, free: 59.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/9.61, allocations: 0.6521 MB / 4.485 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/9.61, allocations: 43.3 kB / 4.485 GB, free: 58.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/9.61, allocations: 390.4 kB / 4.485 GB, free: 58.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/9.61, allocations: 289 kB / 4.485 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/9.611, allocations: 23.81 kB / 4.485 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001256/9.611, allocations: 394.9 kB / 4.486 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/9.612, allocations: 486.4 kB / 4.486 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009844/9.613, allocations: 0.7553 MB / 4.487 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/9.614, allocations: 1.277 MB / 4.488 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/9.614, allocations: 3.781 kB / 4.488 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00308/9.618, allocations: 1.667 MB / 4.49 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/9.618, allocations: 7.062 kB / 4.49 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/9.618, allocations: 13.22 kB / 4.49 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006664/9.624, allocations: 1.417 MB / 4.491 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/9.625, allocations: 157.4 kB / 4.491 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/9.627, allocations: 1.543 MB / 4.493 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/9.628, allocations: 86.55 kB / 4.493 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/9.629, allocations: 55.64 kB / 4.493 GB, free: 57.04 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.000611/9.629, allocations: 303.9 kB / 4.493 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/9.629, allocations: 80.5 kB / 4.493 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/9.632, allocations: 1.68 MB / 4.495 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/9.632, allocations: 16.12 kB / 4.495 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/9.632, allocations: 3.75 kB / 4.495 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/9.632, allocations: 3.891 kB / 4.495 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/9.637, allocations: 2.64 MB / 4.498 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/9.637, allocations: 2.969 kB / 4.498 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/9.638, allocations: 261.4 kB / 4.498 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/9.64, allocations: 394.5 kB / 4.498 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/9.64, allocations: 35.94 kB / 4.498 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/9.642, allocations: 2.274 MB / 4.501 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/9.642, allocations: 3.938 kB / 4.501 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/9.645, allocations: 2.024 MB / 4.503 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00065/9.646, allocations: 292.4 kB / 4.503 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/9.646, allocations: 19.03 kB / 4.503 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/9.647, allocations: 80.72 kB / 4.503 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/9.647, allocations: 60.17 kB / 4.503 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/9.647, allocations: 49.3 kB / 4.503 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006345/9.648, allocations: 484 kB / 4.503 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/9.648, allocations: 0 / 4.503 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002916/9.651, allocations: 0.7825 MB / 4.504 GB, free: 53.74 MB / 0.5261 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003726/9.655, allocations: 1.499 MB / 4.506 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002391/9.657, allocations: 1.238 MB / 4.507 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/9.657, allocations: 6.062 kB / 4.507 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/9.659, allocations: 0.7022 MB / 4.508 GB, free: 53.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/9.661, allocations: 466.3 kB / 4.508 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/9.666, allocations: 2.519 MB / 4.51 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/9.667, allocations: 1.046 MB / 4.512 GB, free: 51.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001229/9.668, allocations: 358 kB / 4.512 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/9.668, allocations: 90.7 kB / 4.512 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/9.668, allocations: 0 / 4.512 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of Templates: time 0.05449/9.723, allocations: 41.42 MB / 4.552 GB, free: 48.49 MB / 0.5261 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches