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.001511/0.001511, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.4 MB / 222.5 MB, free: 9.137 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.001139/0.001138, allocations: 102.6 kB / 270.9 MB, free: 8.391 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.5112/0.5112, allocations: 43.54 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.32/11.46, allocations: 3.614 GB / 4.093 GB, free: 121.7 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/11.46, allocations: 100.2 kB / 4.093 GB, free: 121.7 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.394/13.86, allocations: 434 MB / 4.517 GB, free: 52.2 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.665e-06/13.86, allocations: 0 / 4.517 GB, free: 52.2 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.569e-05/13.86, allocations: 20.8 kB / 4.517 GB, free: 52.2 MB / 0.4949 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.01004/13.87, allocations: 2.435 MB / 4.519 GB, free: 50.84 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/13.87, allocations: 7.156 kB / 4.519 GB, free: 50.84 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/13.87, allocations: 112.3 kB / 4.519 GB, free: 50.79 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/13.87, allocations: 0.6213 MB / 4.52 GB, free: 50.51 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/13.87, allocations: 124.6 kB / 4.52 GB, free: 50.45 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/13.87, allocations: 73.52 kB / 4.52 GB, free: 50.44 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/13.87, allocations: 1.149 MB / 4.521 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/13.87, allocations: 0 / 4.521 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/13.87, allocations: 37.33 kB / 4.521 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.921e-05/13.87, allocations: 59.44 kB / 4.521 GB, free: 50.24 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/13.88, allocations: 1.147 MB / 4.523 GB, free: 50.22 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009268/13.89, allocations: 4.682 MB / 4.527 GB, free: 47.91 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/13.89, allocations: 0.8161 MB / 4.528 GB, free: 47.87 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/13.89, allocations: 1.57 MB / 4.529 GB, free: 46.18 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/13.89, allocations: 49.34 kB / 4.529 GB, free: 46.14 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=70): time 3.697e-06/13.89, allocations: 0 / 4.529 GB, free: 46.14 MB / 0.4949 GB Notification: Performance of matching and sorting (n=82): time 0.02978/13.92, allocations: 4.295 MB / 4.534 GB, free: 45.55 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/13.92, allocations: 110.9 kB / 4.534 GB, free: 45.43 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/13.92, allocations: 0.5866 MB / 4.534 GB, free: 45.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004115/13.92, allocations: 42.2 kB / 4.534 GB, free: 45.27 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/13.92, allocations: 413.6 kB / 4.535 GB, free: 45.01 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/13.92, allocations: 290.3 kB / 4.535 GB, free: 44.83 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/13.92, allocations: 19.03 kB / 4.535 GB, free: 44.83 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.00014/13.92, allocations: 348 kB / 4.535 GB, free: 44.52 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/13.93, allocations: 492.5 kB / 4.536 GB, free: 44.52 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/13.93, allocations: 0.7529 MB / 4.537 GB, free: 44.21 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/13.93, allocations: 0.5875 MB / 4.537 GB, free: 44.19 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/13.93, allocations: 3.5 kB / 4.537 GB, free: 44.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005862/13.94, allocations: 1.637 MB / 4.539 GB, free: 44.06 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/13.94, allocations: 7.406 kB / 4.539 GB, free: 44.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/13.94, allocations: 7.438 kB / 4.539 GB, free: 44.06 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/13.95, allocations: 1.439 MB / 4.54 GB, free: 44.04 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/13.95, allocations: 166.2 kB / 4.54 GB, free: 44.03 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/13.96, allocations: 1.544 MB / 4.542 GB, free: 43.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/13.96, allocations: 91.64 kB / 4.542 GB, free: 43.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/13.96, allocations: 64.17 kB / 4.542 GB, free: 43.48 MB / 0.4949 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.0009236/13.96, allocations: 300.6 kB / 4.542 GB, free: 43.34 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/13.96, allocations: 83.48 kB / 4.542 GB, free: 43.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/13.97, allocations: 1.654 MB / 4.544 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/13.97, allocations: 12.84 kB / 4.544 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/13.97, allocations: 0 / 4.544 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/13.97, allocations: 6.234 kB / 4.544 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/13.97, allocations: 2.522 MB / 4.547 GB, free: 41.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/13.97, allocations: 0 / 4.547 GB, free: 41.85 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/13.98, allocations: 267.2 kB / 4.547 GB, free: 41.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/13.98, allocations: 406.3 kB / 4.547 GB, free: 41.77 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/13.98, allocations: 30.84 kB / 4.547 GB, free: 41.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/13.98, allocations: 2.275 MB / 4.549 GB, free: 39.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/13.98, allocations: 3.938 kB / 4.549 GB, free: 39.73 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006915/13.99, allocations: 2.094 MB / 4.551 GB, free: 38.78 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/13.99, allocations: 292.2 kB / 4.552 GB, free: 38.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/13.99, allocations: 26.72 kB / 4.552 GB, free: 38.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/13.99, allocations: 77.48 kB / 4.552 GB, free: 38.55 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/13.99, allocations: 57.81 kB / 4.552 GB, free: 38.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/13.99, allocations: 53 kB / 4.552 GB, free: 38.53 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009115/14, allocations: 490.2 kB / 4.552 GB, free: 38.32 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.21e-07/14, allocations: 0 / 4.552 GB, free: 38.32 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004231/14, allocations: 0.8304 MB / 4.553 GB, free: 38.08 MB / 0.4949 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.005543/14.01, allocations: 1.619 MB / 4.555 GB, free: 37.67 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.004477/14.01, allocations: 1.251 MB / 4.556 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/14.01, allocations: 0 / 4.556 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/14.01, allocations: 0.6994 MB / 4.557 GB, free: 37.05 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/14.02, allocations: 473.2 kB / 4.557 GB, free: 36.95 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/14.02, allocations: 2.553 MB / 4.56 GB, free: 35.68 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/14.02, allocations: 1.062 MB / 4.561 GB, free: 34.93 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007307/14.03, allocations: 114.9 kB / 4.561 GB, free: 34.91 MB / 0.4949 GB Notification: Performance of SimCode: time 1.243e-06/14.03, allocations: 0 / 4.561 GB, free: 34.91 MB / 0.4949 GB Notification: Performance of Templates: time 0.06204/14.09, allocations: 31.66 MB / 4.592 GB, free: 17.33 MB / 0.4949 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