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.001546/0.001546, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.953/1.953, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001078, allocations: 97.92 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2997/0.2997, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.488e-05, allocations: 7.922 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 58.85 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.97/11.09, allocations: 3.614 GB / 4.087 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/11.09, allocations: 92.58 kB / 4.087 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424/13.51, allocations: 433.2 MB / 4.51 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.973e-06/13.51, allocations: 2.734 kB / 4.51 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.151e-05/13.51, allocations: 19.22 kB / 4.51 GB, free: 69.68 MB / 0.5105 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.01014/13.52, allocations: 2.35 MB / 4.512 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/13.52, allocations: 9.969 kB / 4.512 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000977/13.52, allocations: 107.2 kB / 4.513 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/13.52, allocations: 0.6241 MB / 4.513 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/13.53, allocations: 118.7 kB / 4.513 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/13.53, allocations: 76.22 kB / 4.513 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/13.53, allocations: 1.136 MB / 4.514 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/13.53, allocations: 2.406 kB / 4.514 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/13.53, allocations: 37.81 kB / 4.514 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/13.53, allocations: 51.25 kB / 4.515 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/13.53, allocations: 1.126 MB / 4.516 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/13.54, allocations: 4.689 MB / 4.52 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/13.55, allocations: 0.7945 MB / 4.521 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/13.55, allocations: 413.8 kB / 4.521 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/13.55, allocations: 1.567 MB / 4.523 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/13.55, allocations: 47.7 kB / 4.523 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 4.438e-06/13.55, allocations: 0 / 4.523 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.024/13.57, allocations: 3.649 MB / 4.527 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/13.57, allocations: 114 kB / 4.527 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/13.57, allocations: 0.5841 MB / 4.527 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/13.57, allocations: 42.95 kB / 4.527 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/13.58, allocations: 405.8 kB / 4.528 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/13.58, allocations: 292.2 kB / 4.528 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/13.58, allocations: 20.22 kB / 4.528 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001333/13.58, allocations: 346.8 kB / 4.528 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/13.58, allocations: 446.3 kB / 4.529 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/13.58, allocations: 0.7008 MB / 4.529 GB, free: 62.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/13.58, allocations: 0.5397 MB / 4.53 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/13.58, allocations: 3.906 kB / 4.53 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006165/13.59, allocations: 1.501 MB / 4.531 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/13.59, allocations: 7.594 kB / 4.531 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/13.59, allocations: 11.12 kB / 4.531 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01657/13.61, allocations: 1.356 MB / 4.533 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/13.61, allocations: 158.3 kB / 4.533 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003983/13.61, allocations: 1.415 MB / 4.534 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/13.61, allocations: 97.17 kB / 4.534 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/13.61, allocations: 70.2 kB / 4.534 GB, free: 61.75 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 () * 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.0005304/13.61, allocations: 166.6 kB / 4.535 GB, free: 61.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/13.62, allocations: 84.03 kB / 4.535 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/13.62, allocations: 1.517 MB / 4.536 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/13.62, allocations: 7.688 kB / 4.536 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/13.62, allocations: 3.375 kB / 4.536 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/13.62, allocations: 3.703 kB / 4.536 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00881/13.63, allocations: 2.4 MB / 4.538 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/13.63, allocations: 2.594 kB / 4.538 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/13.63, allocations: 266 kB / 4.539 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/13.64, allocations: 315.9 kB / 4.539 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/13.64, allocations: 35.02 kB / 4.539 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/13.64, allocations: 2.153 MB / 4.541 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/13.64, allocations: 13.52 kB / 4.541 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/13.65, allocations: 1.89 MB / 4.543 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/13.65, allocations: 294.1 kB / 4.543 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/13.65, allocations: 28.11 kB / 4.543 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/13.65, allocations: 72.45 kB / 4.543 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/13.65, allocations: 66.84 kB / 4.543 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/13.65, allocations: 59.2 kB / 4.544 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008801/13.65, allocations: 473.5 kB / 4.544 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/13.65, allocations: 0 / 4.544 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00502/13.65, allocations: 0.8343 MB / 4.545 GB, free: 58.49 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 () * 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.004896/13.66, allocations: 1.62 MB / 4.546 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003345/13.66, allocations: 1.148 MB / 4.547 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/13.66, allocations: 3.953 kB / 4.547 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/13.67, allocations: 0.6457 MB / 4.548 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/13.67, allocations: 467.9 kB / 4.549 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/13.68, allocations: 1.73 MB / 4.55 GB, free: 57.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/13.68, allocations: 1.056 MB / 4.551 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006931/13.68, allocations: 109 kB / 4.551 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/13.68, allocations: 3.188 kB / 4.551 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.06072/13.74, allocations: 31.62 MB / 4.582 GB, free: 55.12 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