Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009645/0.0009644, allocations: 110 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4062/0.4062, allocations: 45.24 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002982, allocations: 8 kB / 468.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3924, allocations: 63.24 MB / 0.5192 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.145/6.538, allocations: 2.789 GB / 3.308 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/6.538, allocations: 90.81 kB / 3.308 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.429/7.967, allocations: 445.9 MB / 3.743 GB, free: 64.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.963e-06/7.967, allocations: 0 / 3.743 GB, free: 64.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.368e-05/7.967, allocations: 15.06 kB / 3.743 GB, free: 64.34 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007449/7.975, allocations: 1.868 MB / 3.745 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/7.975, allocations: 10.91 kB / 3.745 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/7.978, allocations: 333.6 kB / 3.746 GB, free: 63.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/7.979, allocations: 0.5763 MB / 3.746 GB, free: 62.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/7.979, allocations: 52.05 kB / 3.746 GB, free: 62.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/7.979, allocations: 58.44 kB / 3.746 GB, free: 62.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/7.981, allocations: 1.019 MB / 3.747 GB, free: 62.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/7.981, allocations: 3.938 kB / 3.747 GB, free: 62.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/7.981, allocations: 31.58 kB / 3.747 GB, free: 62.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/7.982, allocations: 27.06 kB / 3.747 GB, free: 62.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/7.984, allocations: 0.9321 MB / 3.748 GB, free: 62.04 MB / 0.5417 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.005089/7.989, allocations: 4.84 MB / 3.753 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/7.991, allocations: 0.8271 MB / 3.754 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04037/8.032, allocations: 26.65 MB / 3.78 GB, free: 39.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/8.032, allocations: 42.83 kB / 3.78 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/8.032, allocations: 4 kB / 3.78 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.006864/8.039, allocations: 1.859 MB / 3.782 GB, free: 39.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/8.039, allocations: 110.7 kB / 3.782 GB, free: 38.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/8.039, allocations: 482.5 kB / 3.782 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/8.039, allocations: 33.7 kB / 3.782 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/8.04, allocations: 340.8 kB / 3.782 GB, free: 38.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/8.04, allocations: 163.4 kB / 3.783 GB, free: 38.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/8.04, allocations: 11.12 kB / 3.783 GB, free: 38.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001013/8.04, allocations: 370.9 kB / 3.783 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005906/8.041, allocations: 265.2 kB / 3.783 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/8.041, allocations: 450.1 kB / 3.784 GB, free: 37.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/8.042, allocations: 302.6 kB / 3.784 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/8.042, allocations: 7.156 kB / 3.784 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001795/8.044, allocations: 0.8912 MB / 3.785 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003473/8.044, allocations: 2.012 MB / 3.787 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/8.044, allocations: 7.719 kB / 3.787 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/8.046, allocations: 468.6 kB / 3.787 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/8.047, allocations: 147.8 kB / 3.787 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/8.048, allocations: 0.8503 MB / 3.788 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/8.049, allocations: 135.1 kB / 3.788 GB, free: 34.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/8.049, allocations: 45.73 kB / 3.788 GB, free: 34.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/8.049, allocations: 11.38 kB / 3.788 GB, free: 34.2 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/8.051, allocations: 0.8227 MB / 3.789 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/8.051, allocations: 8.984 kB / 3.789 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/8.052, allocations: 206.2 kB / 3.789 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/8.052, allocations: 156.3 kB / 3.79 GB, free: 33.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009881/8.053, allocations: 0.7705 MB / 3.79 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/8.054, allocations: 106.6 kB / 3.79 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/8.054, allocations: 36 kB / 3.79 GB, free: 33.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000369/8.055, allocations: 298.9 kB / 3.791 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/8.055, allocations: 66.03 kB / 3.791 GB, free: 32.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/8.058, allocations: 3.074 MB / 3.794 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/8.058, allocations: 45.91 kB / 3.794 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/8.058, allocations: 8 kB / 3.794 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/8.058, allocations: 3.656 kB / 3.794 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/8.06, allocations: 1.475 MB / 3.795 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/8.06, allocations: 0 / 3.795 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/8.06, allocations: 95.3 kB / 3.795 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/8.063, allocations: 1.235 MB / 3.797 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/8.063, allocations: 22.73 kB / 3.797 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/8.064, allocations: 1.506 MB / 3.798 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/8.064, allocations: 0 / 3.798 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/8.067, allocations: 2.082 MB / 3.8 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/8.067, allocations: 335.8 kB / 3.8 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/8.068, allocations: 12 kB / 3.8 GB, free: 26.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/8.068, allocations: 82.28 kB / 3.801 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/8.068, allocations: 50.69 kB / 3.801 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/8.068, allocations: 26.28 kB / 3.801 GB, free: 26.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004933/8.069, allocations: 478.2 kB / 3.801 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/8.069, allocations: 0 / 3.801 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005324/8.074, allocations: 1.446 MB / 3.803 GB, free: 24.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007427/8.082, allocations: 1.727 MB / 3.804 GB, free: 23.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003126/8.085, allocations: 1.424 MB / 3.806 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/8.085, allocations: 0 / 3.806 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009833/8.086, allocations: 0.7976 MB / 3.806 GB, free: 21.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/8.087, allocations: 330 kB / 3.807 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/8.09, allocations: 2.93 MB / 3.81 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/8.091, allocations: 1.171 MB / 3.811 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009224/8.092, allocations: 0.6572 MB / 3.811 GB, free: 17.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/8.092, allocations: 55.19 kB / 3.811 GB, free: 17.05 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/8.092, allocations: 0 / 3.811 GB, free: 17.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.2999/8.392, allocations: 43.55 MB / 3.854 GB, free: 83.24 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches