Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.2 MB / 245 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009395/0.0009395, allocations: 107.3 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3207/0.3207, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002442, allocations: 15.98 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2933, allocations: 63.24 MB / 0.5192 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5251/0.8185, allocations: 323.6 MB / 0.8352 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.8188, allocations: 87.33 kB / 0.8352 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.558/1.377, allocations: 169.3 MB / 1.001 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/1.377, allocations: 0 / 1.001 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.52e-05/1.377, allocations: 16 kB / 1.001 GB, free: 89.16 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00341/1.38, allocations: 1.146 MB / 1.002 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.38, allocations: 11.97 kB / 1.002 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/1.381, allocations: 98.92 kB / 1.002 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.382, allocations: 0.6168 MB / 1.002 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/1.382, allocations: 37.31 kB / 1.002 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.383, allocations: 59.84 kB / 1.002 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.384, allocations: 0.8407 MB / 1.003 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.384, allocations: 4 kB / 1.003 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.384, allocations: 20 kB / 1.003 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/1.384, allocations: 32.95 kB / 1.003 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/1.386, allocations: 0.7923 MB / 1.004 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/1.39, allocations: 3.292 MB / 1.007 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.391, allocations: 0.4892 MB / 1.008 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/1.392, allocations: 0.5704 MB / 1.008 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.392, allocations: 40.44 kB / 1.008 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007435/1.392, allocations: 131.4 kB / 1.009 GB, free: 80.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 4.519e-06/1.392, allocations: 0 / 1.009 GB, free: 80.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.03989/1.432, allocations: 7.568 MB / 1.016 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.432, allocations: 115.5 kB / 1.016 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/1.433, allocations: 0.5387 MB / 1.017 GB, free: 72.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.433, allocations: 45.7 kB / 1.017 GB, free: 72.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/1.433, allocations: 364.1 kB / 1.017 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/1.433, allocations: 240.4 kB / 1.017 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/1.434, allocations: 16 kB / 1.017 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/1.434, allocations: 394.7 kB / 1.018 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/1.435, allocations: 0.4899 MB / 1.018 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/1.436, allocations: 0.6833 MB / 1.019 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.437, allocations: 0.5458 MB / 1.019 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.437, allocations: 0 / 1.019 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003152/1.44, allocations: 1.509 MB / 1.021 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003449/1.441, allocations: 2.018 MB / 1.023 GB, free: 65.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.441, allocations: 4 kB / 1.023 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006867/1.448, allocations: 1.227 MB / 1.024 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.449, allocations: 243.6 kB / 1.024 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.451, allocations: 1.653 MB / 1.026 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.452, allocations: 115.9 kB / 1.026 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.453, allocations: 59.94 kB / 1.026 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.453, allocations: 4 kB / 1.026 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003782/1.456, allocations: 1.436 MB / 1.027 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.456, allocations: 8 kB / 1.027 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/1.458, allocations: 445.6 kB / 1.028 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.46, allocations: 251.6 kB / 1.028 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/1.463, allocations: 2.742 MB / 1.031 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.464, allocations: 119.9 kB / 1.031 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.464, allocations: 56.25 kB / 1.031 GB, free: 57.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005044/1.465, allocations: 300.9 kB / 1.031 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/1.465, allocations: 86.97 kB / 1.031 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/1.469, allocations: 1.849 MB / 1.033 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.469, allocations: 16 kB / 1.033 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.469, allocations: 3.953 kB / 1.033 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.469, allocations: 3.984 kB / 1.033 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/1.476, allocations: 2.861 MB / 1.036 GB, free: 51.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.476, allocations: 0 / 1.036 GB, free: 51.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/1.476, allocations: 183.8 kB / 1.036 GB, free: 51.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/1.482, allocations: 1.277 MB / 1.037 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/1.482, allocations: 27.97 kB / 1.037 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.484, allocations: 1.582 MB / 1.039 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.484, allocations: 0 / 1.039 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/1.489, allocations: 2.275 MB / 1.041 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005946/1.489, allocations: 279.7 kB / 1.041 GB, free: 46.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.49, allocations: 16 kB / 1.041 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.491, allocations: 119.9 kB / 1.041 GB, free: 45.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.491, allocations: 64.84 kB / 1.042 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.473e-05/1.491, allocations: 47.91 kB / 1.042 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005166/1.491, allocations: 443 kB / 1.042 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/1.491, allocations: 0 / 1.042 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002287/1.494, allocations: 0.7026 MB / 1.043 GB, free: 44.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.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 (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,3 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/1.495, allocations: 0.588 MB / 1.043 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005496/1.501, allocations: 2.144 MB / 1.045 GB, free: 41.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.501, allocations: 3.906 kB / 1.045 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.502, allocations: 0.6809 MB / 1.046 GB, free: 41.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.504, allocations: 370.1 kB / 1.046 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/1.507, allocations: 2.009 MB / 1.048 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/1.507, allocations: 1.005 MB / 1.049 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001139/1.508, allocations: 262.5 kB / 1.05 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/1.509, allocations: 95.36 kB / 1.05 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/1.509, allocations: 0 / 1.05 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.03701/1.546, allocations: 27.44 MB / 1.076 GB, free: 10.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpRecirculation/TestWaterPumpRecirculation.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches