Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.9 kB / 17.41 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007914, allocations: 101.3 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3448/0.3448, allocations: 43.56 MB / 363.8 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003837, allocations: 12 kB / 432.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.108/7.233, allocations: 3.614 GB / 4.094 GB, free: 50.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/7.234, allocations: 91.95 kB / 4.095 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.288/8.521, allocations: 429.4 MB / 4.514 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/8.521, allocations: 192 / 4.514 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.132e-05/8.522, allocations: 31.94 kB / 4.514 GB, free: 1.934 MB / 0.4948 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.007805/8.529, allocations: 2.425 MB / 4.516 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/8.529, allocations: 12.03 kB / 4.516 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006588/8.53, allocations: 107.8 kB / 4.516 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/8.532, allocations: 0.6436 MB / 4.517 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/8.532, allocations: 126.9 kB / 4.517 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/8.532, allocations: 67.98 kB / 4.517 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/8.534, allocations: 1.156 MB / 4.518 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/8.534, allocations: 3.938 kB / 4.518 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/8.535, allocations: 31.98 kB / 4.518 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.509e-05/8.535, allocations: 57.97 kB / 4.518 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/8.537, allocations: 1.148 MB / 4.52 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006951/8.544, allocations: 4.67 MB / 4.524 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/8.545, allocations: 0.8231 MB / 4.525 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/8.546, allocations: 418.3 kB / 4.525 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/8.548, allocations: 1.888 MB / 4.527 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/8.548, allocations: 47.12 kB / 4.527 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 2.785e-06/8.548, allocations: 4 kB / 4.527 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.2413/8.789, allocations: 4.292 MB / 4.531 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/8.789, allocations: 114.6 kB / 4.531 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/8.79, allocations: 0.653 MB / 4.532 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/8.79, allocations: 42.8 kB / 4.532 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/8.791, allocations: 387.1 kB / 4.533 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/8.791, allocations: 291.6 kB / 4.533 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/8.791, allocations: 19.75 kB / 4.533 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001213/8.791, allocations: 392.8 kB / 4.533 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/8.792, allocations: 493.5 kB / 4.534 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/8.793, allocations: 0.7558 MB / 4.534 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/8.795, allocations: 1.28 MB / 4.536 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/8.795, allocations: 1.938 kB / 4.536 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003311/8.799, allocations: 1.672 MB / 4.537 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/8.799, allocations: 12.19 kB / 4.537 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/8.799, allocations: 8.5 kB / 4.537 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006936/8.806, allocations: 1.446 MB / 4.539 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/8.806, allocations: 156.8 kB / 4.539 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/8.809, allocations: 1.547 MB / 4.54 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/8.81, allocations: 91 kB / 4.54 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/8.81, allocations: 62.91 kB / 4.541 GB, free: 55.03 MB / 0.5105 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.0005671/8.81, allocations: 300.3 kB / 4.541 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/8.811, allocations: 88.41 kB / 4.541 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/8.814, allocations: 1.628 MB / 4.542 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/8.814, allocations: 9 kB / 4.543 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/8.814, allocations: 2.781 kB / 4.543 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/8.814, allocations: 9.188 kB / 4.543 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/8.818, allocations: 2.525 MB / 4.545 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/8.818, allocations: 0 / 4.545 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/8.819, allocations: 270.3 kB / 4.545 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/8.821, allocations: 401.5 kB / 4.546 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/8.821, allocations: 31.05 kB / 4.546 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/8.823, allocations: 2.277 MB / 4.548 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/8.823, allocations: 10.27 kB / 4.548 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/8.827, allocations: 2.028 MB / 4.55 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007136/8.827, allocations: 290.6 kB / 4.55 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/8.828, allocations: 23.36 kB / 4.55 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/8.828, allocations: 81.8 kB / 4.55 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/8.829, allocations: 59.44 kB / 4.55 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/8.829, allocations: 53.58 kB / 4.55 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006171/8.829, allocations: 484.7 kB / 4.551 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/8.829, allocations: 0 / 4.551 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002753/8.832, allocations: 0.8364 MB / 4.552 GB, free: 52.02 MB / 0.5105 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 (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.003136/8.835, allocations: 1.619 MB / 4.553 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002423/8.838, allocations: 1.247 MB / 4.554 GB, free: 51.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/8.838, allocations: 3.312 kB / 4.554 GB, free: 51.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/8.839, allocations: 0.696 MB / 4.555 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/8.842, allocations: 477.2 kB / 4.556 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/8.846, allocations: 2.556 MB / 4.558 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/8.846, allocations: 1.041 MB / 4.559 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/8.846, allocations: 113.8 kB / 4.559 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of SimCode: time 5.72e-07/8.846, allocations: 0 / 4.559 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.04088/8.887, allocations: 31.21 MB / 4.59 GB, free: 48.89 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches