Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 92.89 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3869/0.3869, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002883, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4328, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7712/1.204, allocations: 354.8 MB / 0.8649 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.204, allocations: 103.9 kB / 0.865 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5842/1.789, allocations: 133 MB / 0.9949 GB, free: 99.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.424e-06/1.789, allocations: 0 / 0.9949 GB, free: 99.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.429e-05/1.789, allocations: 16 kB / 0.9949 GB, free: 99.97 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.002766/1.792, allocations: 0.9549 MB / 0.9959 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.792, allocations: 12.03 kB / 0.9959 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/1.792, allocations: 91.98 kB / 0.996 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.794, allocations: 0.5569 MB / 0.9965 GB, free: 98.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/1.794, allocations: 101.5 kB / 0.9966 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/1.794, allocations: 55.97 kB / 0.9966 GB, free: 98.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/1.796, allocations: 0.82 MB / 0.9974 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/1.796, allocations: 7.938 kB / 0.9975 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/1.796, allocations: 27.98 kB / 0.9975 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/1.796, allocations: 44.97 kB / 0.9975 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/1.797, allocations: 0.6204 MB / 0.9981 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/1.802, allocations: 4.013 MB / 1.002 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/1.802, allocations: 339.9 kB / 1.002 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/1.803, allocations: 173.3 kB / 1.003 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/1.804, allocations: 1.686 MB / 1.004 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.805, allocations: 38.56 kB / 1.004 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/1.805, allocations: 4 kB / 1.004 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003484/1.808, allocations: 1.363 MB / 1.006 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.808, allocations: 132.5 kB / 1.006 GB, free: 88.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/1.809, allocations: 0.6211 MB / 1.006 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/1.809, allocations: 37.7 kB / 1.006 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/1.809, allocations: 398.3 kB / 1.007 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/1.809, allocations: 142 kB / 1.007 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/1.809, allocations: 15.94 kB / 1.007 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.809, allocations: 374.8 kB / 1.007 GB, free: 86.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/1.81, allocations: 189.9 kB / 1.007 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/1.81, allocations: 0.5442 MB / 1.008 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/1.811, allocations: 0.7765 MB / 1.009 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/1.811, allocations: 4 kB / 1.009 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001298/1.812, allocations: 0.8133 MB / 1.009 GB, free: 83.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.812, allocations: 8.906 kB / 1.009 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.812, allocations: 15.98 kB / 1.01 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/1.813, allocations: 100.8 kB / 1.01 GB, free: 83.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/1.813, allocations: 187.7 kB / 1.01 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004732/1.814, allocations: 0.6576 MB / 1.01 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/1.815, allocations: 44.05 kB / 1.01 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/1.815, allocations: 40 kB / 1.011 GB, free: 82.83 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.0003616/1.815, allocations: 261.4 kB / 1.011 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.815, allocations: 71.09 kB / 1.011 GB, free: 82.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/1.816, allocations: 498.8 kB / 1.011 GB, free: 81.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.816, allocations: 4 kB / 1.011 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.816, allocations: 4.141 kB / 1.011 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.816, allocations: 3.984 kB / 1.011 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/1.818, allocations: 1.204 MB / 1.012 GB, free: 80.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.818, allocations: 8.062 kB / 1.012 GB, free: 80.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/1.818, allocations: 75.84 kB / 1.013 GB, free: 80.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/1.818, allocations: 36.83 kB / 1.013 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/1.818, allocations: 16 kB / 1.013 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000252/1.818, allocations: 0.5601 MB / 1.013 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.818, allocations: 12.06 kB / 1.013 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/1.819, allocations: 0.7057 MB / 1.014 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/1.82, allocations: 188.1 kB / 1.014 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/1.82, allocations: 12 kB / 1.014 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.82, allocations: 28.05 kB / 1.014 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/1.82, allocations: 31.84 kB / 1.014 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/1.82, allocations: 23.98 kB / 1.014 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005271/1.821, allocations: 455 kB / 1.015 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/1.821, allocations: 0 / 1.015 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009848/1.822, allocations: 227.9 kB / 1.015 GB, free: 78.21 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.0007218/1.823, allocations: 327 kB / 1.015 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009374/1.824, allocations: 0.4903 MB / 1.016 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.824, allocations: 0 / 1.016 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/1.824, allocations: 175.7 kB / 1.016 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/1.826, allocations: 308.6 kB / 1.016 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/1.828, allocations: 1.531 MB / 1.018 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/1.828, allocations: 0.9413 MB / 1.018 GB, free: 74.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007837/1.829, allocations: 201.9 kB / 1.019 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.829, allocations: 67.42 kB / 1.019 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.829, allocations: 0 / 1.019 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.02355/1.853, allocations: 13.25 MB / 1.032 GB, free: 61 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches