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.001255/0.001255, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009735, allocations: 91.69 kB / 281.6 MB, free: 5.32 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.2389/0.2389, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.921e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.846/8.997, allocations: 3.554 GB / 4.049 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/8.998, allocations: 90.34 kB / 4.049 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.684/10.68, allocations: 409.3 MB / 4.449 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/10.68, allocations: 0 / 4.449 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001081/10.68, allocations: 24 kB / 4.449 GB, free: 60.83 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.01046/10.69, allocations: 2.216 MB / 4.451 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/10.69, allocations: 11.98 kB / 4.451 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/10.69, allocations: 110.9 kB / 4.451 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/10.7, allocations: 0.6279 MB / 4.452 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/10.7, allocations: 93.39 kB / 4.452 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/10.7, allocations: 51.94 kB / 4.452 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/10.7, allocations: 1.023 MB / 4.453 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/10.7, allocations: 1.031 MB / 4.454 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/10.7, allocations: 0 / 4.454 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/10.7, allocations: 7.953 kB / 4.454 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.107e-05/10.7, allocations: 53.97 kB / 4.454 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0068/10.71, allocations: 5.011 MB / 4.459 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/10.71, allocations: 0.6922 MB / 4.459 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/10.71, allocations: 350.8 kB / 4.46 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007466/10.71, allocations: 1.129 MB / 4.461 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/10.71, allocations: 39.12 kB / 4.461 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 2.405e-06/10.71, allocations: 4 kB / 4.461 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01367/10.72, allocations: 3.678 MB / 4.465 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/10.72, allocations: 111.6 kB / 4.465 GB, free: 43.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/10.72, allocations: 474.2 kB / 4.465 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/10.72, allocations: 25.7 kB / 4.465 GB, free: 43.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/10.72, allocations: 413.9 kB / 4.466 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/10.72, allocations: 272.1 kB / 4.466 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/10.72, allocations: 0 / 4.466 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001296/10.73, allocations: 378.8 kB / 4.466 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008183/10.73, allocations: 430.4 kB / 4.467 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/10.73, allocations: 0.6708 MB / 4.467 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/10.73, allocations: 0.6875 MB / 4.468 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/10.73, allocations: 0 / 4.468 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0044/10.73, allocations: 1.589 MB / 4.469 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/10.73, allocations: 11.98 kB / 4.469 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/10.73, allocations: 8 kB / 4.469 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006388/10.74, allocations: 1.055 MB / 4.471 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/10.74, allocations: 155.7 kB / 4.471 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/10.74, allocations: 1.51 MB / 4.472 GB, free: 35.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/10.75, allocations: 71.92 kB / 4.472 GB, free: 35.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/10.75, allocations: 55.97 kB / 4.472 GB, free: 35.87 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 () * 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.0004165/10.75, allocations: 128.7 kB / 4.472 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/10.75, allocations: 87.17 kB / 4.472 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/10.75, allocations: 1.479 MB / 4.474 GB, free: 34.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/10.75, allocations: 15.98 kB / 4.474 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/10.75, allocations: 0 / 4.474 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/10.75, allocations: 3.984 kB / 4.474 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/10.76, allocations: 2.697 MB / 4.477 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/10.76, allocations: 8.188 kB / 4.477 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/10.76, allocations: 259.6 kB / 4.477 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/10.76, allocations: 308.4 kB / 4.477 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/10.76, allocations: 27.97 kB / 4.477 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/10.76, allocations: 2.141 MB / 4.479 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/10.76, allocations: 4 kB / 4.479 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/10.77, allocations: 1.976 MB / 4.481 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/10.77, allocations: 272.2 kB / 4.481 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/10.77, allocations: 19.98 kB / 4.481 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/10.77, allocations: 59.8 kB / 4.481 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/10.77, allocations: 68.58 kB / 4.482 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/10.77, allocations: 43.97 kB / 4.482 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006412/10.77, allocations: 370.9 kB / 4.482 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/10.77, allocations: 0 / 4.482 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003559/10.77, allocations: 0.725 MB / 4.483 GB, free: 24.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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.005124/10.78, allocations: 1.612 MB / 4.484 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002597/10.78, allocations: 1.068 MB / 4.485 GB, free: 22.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/10.78, allocations: 7.953 kB / 4.485 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/10.78, allocations: 0.6134 MB / 4.486 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/10.79, allocations: 358.2 kB / 4.486 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/10.79, allocations: 1.637 MB / 4.488 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/10.79, allocations: 1.066 MB / 4.489 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001107/10.79, allocations: 306.5 kB / 4.489 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/10.79, allocations: 87.41 kB / 4.489 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/10.79, allocations: 0 / 4.489 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.438/11.23, allocations: 31.58 MB / 4.52 GB, free: 76.46 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/jenkins/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