Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009349/0.0009349, allocations: 176.3 kB / 16.76 MB, free: 5.051 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.573/1.573, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008039/0.000804, allocations: 78.42 kB / 271.3 MB, free: 8.25 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.3712/0.3712, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.672/7.807, allocations: 3.615 GB / 4.094 GB, free: 49.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/7.807, allocations: 95.95 kB / 4.095 GB, free: 49.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.409/9.216, allocations: 429.4 MB / 4.514 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/9.216, allocations: 4 kB / 4.514 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.044e-05/9.216, allocations: 16 kB / 4.514 GB, free: 2.363 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.008465/9.225, allocations: 2.433 MB / 4.516 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/9.225, allocations: 12.03 kB / 4.516 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006055/9.225, allocations: 111.8 kB / 4.516 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/9.227, allocations: 0.6474 MB / 4.517 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/9.227, allocations: 118.9 kB / 4.517 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/9.227, allocations: 71.98 kB / 4.517 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/9.229, allocations: 1.151 MB / 4.518 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/9.229, allocations: 11.86 kB / 4.518 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/9.229, allocations: 39.98 kB / 4.518 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.511e-05/9.23, allocations: 53.98 kB / 4.518 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/9.232, allocations: 1.144 MB / 4.52 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0069/9.238, allocations: 4.662 MB / 4.524 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/9.24, allocations: 0.8156 MB / 4.525 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/9.241, allocations: 422.3 kB / 4.525 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/9.243, allocations: 1.896 MB / 4.527 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/9.243, allocations: 51.11 kB / 4.527 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/9.243, allocations: 0 / 4.527 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.294/9.537, allocations: 4.287 MB / 4.531 GB, free: 57.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/9.537, allocations: 111.6 kB / 4.532 GB, free: 57.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/9.538, allocations: 0.6559 MB / 4.532 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/9.538, allocations: 42.61 kB / 4.532 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/9.538, allocations: 382.5 kB / 4.533 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/9.539, allocations: 301.2 kB / 4.533 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/9.539, allocations: 22.97 kB / 4.533 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001662/9.539, allocations: 392 kB / 4.533 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/9.54, allocations: 493 kB / 4.534 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/9.541, allocations: 0.7514 MB / 4.534 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/9.544, allocations: 1.28 MB / 4.536 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/9.544, allocations: 2.75 kB / 4.536 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003673/9.548, allocations: 1.677 MB / 4.537 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/9.548, allocations: 15.38 kB / 4.537 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/9.548, allocations: 7.812 kB / 4.537 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007044/9.555, allocations: 1.446 MB / 4.539 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/9.555, allocations: 157.9 kB / 4.539 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/9.558, allocations: 1.544 MB / 4.54 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/9.559, allocations: 91.03 kB / 4.541 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/9.559, allocations: 63.97 kB / 4.541 GB, free: 55.55 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.0006271/9.56, allocations: 298.8 kB / 4.541 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/9.56, allocations: 85.31 kB / 4.541 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/9.564, allocations: 1.631 MB / 4.543 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/9.564, allocations: 12.19 kB / 4.543 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/9.564, allocations: 2.438 kB / 4.543 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/9.564, allocations: 3.703 kB / 4.543 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/9.569, allocations: 2.527 MB / 4.545 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/9.569, allocations: 3.875 kB / 4.545 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/9.57, allocations: 271.6 kB / 4.545 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/9.572, allocations: 390.1 kB / 4.546 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/9.572, allocations: 35.84 kB / 4.546 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/9.574, allocations: 2.278 MB / 4.548 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/9.574, allocations: 7.156 kB / 4.548 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/9.577, allocations: 2.028 MB / 4.55 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/9.578, allocations: 294.3 kB / 4.55 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/9.578, allocations: 21.06 kB / 4.55 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/9.579, allocations: 85.02 kB / 4.55 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/9.579, allocations: 59.34 kB / 4.55 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/9.579, allocations: 52.34 kB / 4.55 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006549/9.58, allocations: 486.5 kB / 4.551 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/9.58, allocations: 0 / 4.551 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003155/9.583, allocations: 0.8366 MB / 4.552 GB, free: 52.54 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.0032/9.587, allocations: 1.618 MB / 4.553 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002431/9.589, allocations: 1.238 MB / 4.554 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/9.589, allocations: 2.625 kB / 4.554 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/9.59, allocations: 0.6978 MB / 4.555 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/9.593, allocations: 493.2 kB / 4.556 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/9.597, allocations: 2.492 MB / 4.558 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/9.597, allocations: 1.046 MB / 4.559 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001214/9.599, allocations: 311.6 kB / 4.559 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/9.599, allocations: 100.2 kB / 4.559 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/9.599, allocations: 0 / 4.559 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.067/9.666, allocations: 42.79 MB / 4.601 GB, free: 49.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches