Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,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.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,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.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 197.4 kB / 18.1 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.595/1.595, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008898/0.0008897, allocations: 96.44 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4959/0.4959, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003427, allocations: 4 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4318, allocations: 62.96 MB / 0.5184 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.643/1.075, allocations: 238.1 MB / 0.751 GB, free: 80.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.075, allocations: 100.7 kB / 0.7511 GB, free: 80.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8212/1.896, allocations: 237.4 MB / 0.9829 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.335e-06/1.896, allocations: 0 / 0.9829 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.102e-05/1.897, allocations: 20 kB / 0.9829 GB, free: 109.1 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003732/1.9, allocations: 1.263 MB / 0.9842 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.9, allocations: 16.03 kB / 0.9842 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.902, allocations: 139.9 kB / 0.9843 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.903, allocations: 0.566 MB / 0.9849 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.903, allocations: 101.9 kB / 0.985 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.903, allocations: 51.12 kB / 0.985 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.905, allocations: 0.8245 MB / 0.9858 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/1.905, allocations: 7.875 kB / 0.9858 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.905, allocations: 27.52 kB / 0.9859 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/1.905, allocations: 40.98 kB / 0.9859 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.906, allocations: 0.5931 MB / 0.9865 GB, free: 105.4 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/1.912, allocations: 4.488 MB / 0.9909 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/1.912, allocations: 321.3 kB / 0.9912 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/1.913, allocations: 142.4 kB / 0.9913 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/1.913, allocations: 420.9 kB / 0.9917 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.913, allocations: 34.56 kB / 0.9917 GB, free: 99.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 4.027e-06/1.913, allocations: 0 / 0.9917 GB, free: 99.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004813/1.918, allocations: 1.522 MB / 0.9932 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/1.918, allocations: 136.5 kB / 0.9934 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.919, allocations: 0.6478 MB / 0.994 GB, free: 97.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/1.919, allocations: 33.7 kB / 0.994 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/1.919, allocations: 389.4 kB / 0.9944 GB, free: 96.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/1.919, allocations: 132.6 kB / 0.9945 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/1.919, allocations: 16 kB / 0.9945 GB, free: 96.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.92, allocations: 374.8 kB / 0.9949 GB, free: 96.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/1.92, allocations: 201.9 kB / 0.9951 GB, free: 96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/1.921, allocations: 0.4902 MB / 0.9956 GB, free: 95.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.922, allocations: 0.7015 MB / 0.9963 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/1.922, allocations: 4 kB / 0.9963 GB, free: 94.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001671/1.923, allocations: 0.8598 MB / 0.9971 GB, free: 93.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.923, allocations: 11.98 kB / 0.9971 GB, free: 93.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.924, allocations: 12 kB / 0.9971 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/1.925, allocations: 283.3 kB / 0.9974 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/1.925, allocations: 127.7 kB / 0.9975 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/1.927, allocations: 1.382 MB / 0.9989 GB, free: 91.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/1.928, allocations: 39.83 kB / 0.9989 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.928, allocations: 47.92 kB / 0.9989 GB, free: 91.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005967/1.928, allocations: 250.3 kB / 0.9992 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/1.929, allocations: 63.25 kB / 0.9992 GB, free: 91.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.93, allocations: 0.6868 MB / 0.9999 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.93, allocations: 4 kB / 0.9999 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.93, allocations: 4 kB / 0.9999 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.93, allocations: 7.969 kB / 0.9999 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/1.932, allocations: 1.193 MB / 1.001 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.932, allocations: 7.938 kB / 1.001 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/1.933, allocations: 47.97 kB / 1.001 GB, free: 89.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/1.933, allocations: 193.5 kB / 1.001 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/1.934, allocations: 8 kB / 1.001 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/1.934, allocations: 1.296 MB / 1.003 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.934, allocations: 0 / 1.003 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.936, allocations: 0.7903 MB / 1.003 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/1.936, allocations: 184.2 kB / 1.004 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/1.936, allocations: 11.98 kB / 1.004 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/1.937, allocations: 27.98 kB / 1.004 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/1.937, allocations: 23.97 kB / 1.004 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/1.937, allocations: 23.98 kB / 1.004 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005717/1.937, allocations: 447 kB / 1.004 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.342e-06/1.937, allocations: 0 / 1.004 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001345/1.939, allocations: 291.7 kB / 1.004 GB, free: 85.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009596/1.94, allocations: 340.1 kB / 1.005 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.941, allocations: 0.4975 MB / 1.005 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/1.941, allocations: 4.688 kB / 1.005 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/1.941, allocations: 215.7 kB / 1.005 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.943, allocations: 305.4 kB / 1.006 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/1.945, allocations: 1.492 MB / 1.007 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/1.946, allocations: 0.9306 MB / 1.008 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008963/1.946, allocations: 257.8 kB / 1.008 GB, free: 81.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/1.947, allocations: 59.36 kB / 1.008 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.947, allocations: 0 / 1.008 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.02505/1.972, allocations: 14.41 MB / 1.022 GB, free: 67.65 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches