Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.3 MB / 236 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.000922, allocations: 95.53 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1806/0.1806, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.823e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8192/0.9395, allocations: 353.7 MB / 0.8471 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.9398, allocations: 93.41 kB / 0.8472 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5043/1.444, allocations: 133.3 MB / 0.9774 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/1.444, allocations: 0 / 0.9774 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.732e-05/1.444, allocations: 21.81 kB / 0.9775 GB, free: 150.3 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.001512/1.446, allocations: 0.8826 MB / 0.9783 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.446, allocations: 8.25 kB / 0.9783 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/1.446, allocations: 93.16 kB / 0.9784 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/1.447, allocations: 0.5291 MB / 0.9789 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/1.447, allocations: 100.3 kB / 0.979 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/1.447, allocations: 53.69 kB / 0.9791 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/1.448, allocations: 0.8105 MB / 0.9799 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.448, allocations: 3.938 kB / 0.9799 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/1.448, allocations: 26.91 kB / 0.9799 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/1.448, allocations: 43.05 kB / 0.9799 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/1.449, allocations: 0.6126 MB / 0.9805 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/1.452, allocations: 4.037 MB / 0.9845 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/1.453, allocations: 340.8 kB / 0.9848 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/1.453, allocations: 165.4 kB / 0.985 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/1.454, allocations: 1.751 MB / 0.9867 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/1.454, allocations: 38.55 kB / 0.9867 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/1.454, allocations: 7.75 kB / 0.9867 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.002785/1.457, allocations: 1.255 MB / 0.988 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/1.457, allocations: 136 kB / 0.9881 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/1.458, allocations: 0.5515 MB / 0.9886 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/1.458, allocations: 29.7 kB / 0.9886 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/1.458, allocations: 398.2 kB / 0.989 GB, free: 141 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/1.458, allocations: 136.1 kB / 0.9892 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/1.458, allocations: 15.94 kB / 0.9892 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/1.458, allocations: 378.4 kB / 0.9895 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.458, allocations: 174.8 kB / 0.9897 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/1.459, allocations: 0.5445 MB / 0.9902 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/1.459, allocations: 289 kB / 0.9905 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.459, allocations: 6.281 kB / 0.9905 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001005/1.46, allocations: 0.8086 MB / 0.9913 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.46, allocations: 11.77 kB / 0.9913 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.46, allocations: 18.53 kB / 0.9913 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/1.461, allocations: 93.55 kB / 0.9914 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/1.461, allocations: 183.1 kB / 0.9916 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/1.462, allocations: 0.6508 MB / 0.9922 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/1.462, allocations: 51.48 kB / 0.9923 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/1.462, allocations: 46.7 kB / 0.9923 GB, free: 138.5 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 () * 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.000135/1.462, allocations: 159.8 kB / 0.9925 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/1.462, allocations: 64.91 kB / 0.9925 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/1.463, allocations: 0.4902 MB / 0.993 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.463, allocations: 5.25 kB / 0.993 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.463, allocations: 3.984 kB / 0.993 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.463, allocations: 0 / 0.993 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/1.465, allocations: 1.201 MB / 0.9942 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.465, allocations: 3.938 kB / 0.9942 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/1.465, allocations: 74.83 kB / 0.9943 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/1.465, allocations: 39.17 kB / 0.9943 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/1.465, allocations: 15.77 kB / 0.9943 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002167/1.465, allocations: 0.5586 MB / 0.9949 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.465, allocations: 15.95 kB / 0.9949 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/1.466, allocations: 0.8293 MB / 0.9957 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/1.466, allocations: 190.9 kB / 0.9959 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/1.466, allocations: 19.48 kB / 0.9959 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/1.467, allocations: 27.02 kB / 0.9959 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/1.467, allocations: 27.67 kB / 0.996 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/1.467, allocations: 26.8 kB / 0.996 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004001/1.467, allocations: 442.9 kB / 0.9964 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.467, allocations: 0 / 0.9964 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007042/1.468, allocations: 226.3 kB / 0.9966 GB, free: 135.3 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 () * 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.0004842/1.468, allocations: 347.5 kB / 0.9969 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007274/1.469, allocations: 484.5 kB / 0.9974 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.469, allocations: 0 / 0.9974 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/1.469, allocations: 173.4 kB / 0.9976 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.471, allocations: 315.6 kB / 0.9979 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.472, allocations: 0.9108 MB / 0.9988 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/1.472, allocations: 0.9532 MB / 0.9997 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005674/1.473, allocations: 202.1 kB / 0.9999 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/1.473, allocations: 59.42 kB / 0.9999 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of SimCode: time 4.4e-07/1.473, allocations: 0 / 0.9999 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.01697/1.49, allocations: 13.31 MB / 1.013 GB, free: 119.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches