Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 190.8 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000762/0.000762, allocations: 99.75 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3267/0.3267, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002516/0.0002517, allocations: 11.98 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3165, allocations: 62.95 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.559/0.8756, allocations: 354.8 MB / 0.863 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.876, allocations: 96.69 kB / 0.8631 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4668/1.343, allocations: 133 MB / 0.993 GB, free: 99.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/1.343, allocations: 0 / 0.993 GB, free: 99.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.746e-05/1.343, allocations: 16.22 kB / 0.993 GB, free: 99.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001699/1.345, allocations: 0.9666 MB / 0.9939 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.345, allocations: 8.031 kB / 0.9939 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/1.345, allocations: 91.98 kB / 0.994 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000838/1.346, allocations: 0.5531 MB / 0.9945 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/1.346, allocations: 109.5 kB / 0.9947 GB, free: 98.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/1.346, allocations: 44 kB / 0.9947 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.347, allocations: 0.8316 MB / 0.9955 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.347, allocations: 0 / 0.9955 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/1.347, allocations: 24 kB / 0.9955 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/1.347, allocations: 40.97 kB / 0.9956 GB, free: 97.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/1.348, allocations: 0.6243 MB / 0.9962 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/1.351, allocations: 4.02 MB / 1 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/1.352, allocations: 335.8 kB / 1 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/1.352, allocations: 177.3 kB / 1.001 GB, free: 91.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.353, allocations: 1.69 MB / 1.002 GB, free: 89.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/1.353, allocations: 34.56 kB / 1.002 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/1.354, allocations: 0 / 1.002 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003027/1.357, allocations: 1.363 MB / 1.004 GB, free: 88.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.357, allocations: 140.4 kB / 1.004 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/1.357, allocations: 0.625 MB / 1.004 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.357, allocations: 33.7 kB / 1.004 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/1.357, allocations: 398.3 kB / 1.005 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/1.357, allocations: 142 kB / 1.005 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/1.358, allocations: 16 kB / 1.005 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/1.358, allocations: 370.8 kB / 1.005 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/1.358, allocations: 189.9 kB / 1.005 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/1.358, allocations: 0.5403 MB / 1.006 GB, free: 85.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/1.359, allocations: 0.7765 MB / 1.007 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.359, allocations: 4 kB / 1.007 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001062/1.36, allocations: 0.8133 MB / 1.008 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.36, allocations: 12.91 kB / 1.008 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.36, allocations: 15.98 kB / 1.008 GB, free: 83.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/1.36, allocations: 104.9 kB / 1.008 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.361, allocations: 183.7 kB / 1.008 GB, free: 83.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004048/1.361, allocations: 0.6615 MB / 1.008 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/1.362, allocations: 40.05 kB / 1.009 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/1.362, allocations: 47.98 kB / 1.009 GB, free: 82.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000281/1.362, allocations: 257.4 kB / 1.009 GB, free: 82.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/1.362, allocations: 71.16 kB / 1.009 GB, free: 82.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/1.363, allocations: 0.4951 MB / 1.009 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.363, allocations: 4 kB / 1.009 GB, free: 81.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.363, allocations: 0 / 1.009 GB, free: 81.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.363, allocations: 0 / 1.009 GB, free: 81.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/1.364, allocations: 1.2 MB / 1.011 GB, free: 80.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.364, allocations: 12.12 kB / 1.011 GB, free: 80.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/1.365, allocations: 71.91 kB / 1.011 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/1.365, allocations: 44.83 kB / 1.011 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/1.365, allocations: 8 kB / 1.011 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002132/1.365, allocations: 0.5678 MB / 1.011 GB, free: 79.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.365, allocations: 4 kB / 1.011 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/1.366, allocations: 0.7057 MB / 1.012 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/1.366, allocations: 192.2 kB / 1.012 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/1.366, allocations: 11.98 kB / 1.012 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/1.367, allocations: 32.05 kB / 1.012 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/1.367, allocations: 35.84 kB / 1.012 GB, free: 78.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/1.367, allocations: 19.98 kB / 1.012 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004203/1.367, allocations: 451 kB / 1.013 GB, free: 78.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.367, allocations: 0 / 1.013 GB, free: 78.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007605/1.368, allocations: 227.9 kB / 1.013 GB, free: 78.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 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 (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005406/1.368, allocations: 330.4 kB / 1.013 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008253/1.369, allocations: 498.3 kB / 1.014 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.369, allocations: 4 kB / 1.014 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/1.37, allocations: 167.7 kB / 1.014 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.371, allocations: 318.9 kB / 1.014 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/1.373, allocations: 1.568 MB / 1.016 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/1.373, allocations: 0.9335 MB / 1.017 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.373, allocations: 63.42 kB / 1.017 GB, free: 74.19 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/1.373, allocations: 0 / 1.017 GB, free: 74.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.01463/1.388, allocations: 14.25 MB / 1.031 GB, free: 60.01 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches