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.001377/0.001377, allocations: 196.5 kB / 18.1 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.71/1.71, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 96 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4917/0.4917, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.000351, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5401, allocations: 62.96 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8561/1.396, allocations: 323.6 MB / 0.8344 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/1.397, allocations: 99.34 kB / 0.8345 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8088/2.206, allocations: 167.7 MB / 0.9983 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.328e-06/2.206, allocations: 0 / 0.9983 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001234/2.206, allocations: 16 kB / 0.9983 GB, free: 95.19 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.004484/2.21, allocations: 1.15 MB / 0.9994 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/2.21, allocations: 8.031 kB / 0.9994 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007466/2.211, allocations: 99.89 kB / 0.9995 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/2.213, allocations: 0.63 MB / 1 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/2.213, allocations: 41.25 kB / 1 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/2.213, allocations: 55.94 kB / 1 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/2.215, allocations: 0.8541 MB / 1.001 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/2.215, allocations: 8 kB / 1.001 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/2.215, allocations: 27.92 kB / 1.001 GB, free: 92.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/2.215, allocations: 21 kB / 1.001 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/2.217, allocations: 0.7923 MB / 1.002 GB, free: 91.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/2.222, allocations: 3.252 MB / 1.005 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/2.223, allocations: 492.4 kB / 1.006 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/2.224, allocations: 318.2 kB / 1.006 GB, free: 87.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/2.224, allocations: 0.5739 MB / 1.006 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/2.224, allocations: 38.56 kB / 1.006 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008693/2.225, allocations: 135.3 kB / 1.007 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 8.185e-06/2.225, allocations: 0 / 1.007 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.04481/2.27, allocations: 8.078 MB / 1.014 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/2.27, allocations: 111.5 kB / 1.015 GB, free: 77.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009184/2.271, allocations: 0.6292 MB / 1.015 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/2.271, allocations: 41.7 kB / 1.015 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/2.271, allocations: 348.2 kB / 1.016 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/2.271, allocations: 248.4 kB / 1.016 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/2.272, allocations: 19.94 kB / 1.016 GB, free: 76.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001478/2.272, allocations: 382.8 kB / 1.016 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/2.273, allocations: 0.5133 MB / 1.017 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/2.274, allocations: 0.6911 MB / 1.017 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/2.277, allocations: 1.219 MB / 1.019 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/2.277, allocations: 0 / 1.019 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003647/2.28, allocations: 1.563 MB / 1.02 GB, free: 72.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/2.281, allocations: 246.8 kB / 1.02 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/2.281, allocations: 8 kB / 1.02 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007698/2.288, allocations: 1.426 MB / 1.022 GB, free: 70.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/2.29, allocations: 239.6 kB / 1.022 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/2.292, allocations: 1.742 MB / 1.024 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/2.294, allocations: 119.9 kB / 1.024 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/2.294, allocations: 63.94 kB / 1.024 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/2.294, allocations: 4 kB / 1.024 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003787/2.298, allocations: 1.469 MB / 1.025 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/2.298, allocations: 4 kB / 1.025 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/2.301, allocations: 0.5519 MB / 1.026 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/2.302, allocations: 263.6 kB / 1.026 GB, free: 65.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/2.306, allocations: 2.813 MB / 1.029 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/2.307, allocations: 127.8 kB / 1.029 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/2.307, allocations: 63.94 kB / 1.029 GB, free: 62.64 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.0006458/2.308, allocations: 293.8 kB / 1.029 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/2.308, allocations: 86.97 kB / 1.029 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/2.313, allocations: 1.934 MB / 1.031 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/2.313, allocations: 12 kB / 1.031 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/2.313, allocations: 0 / 1.031 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/2.314, allocations: 11.91 kB / 1.031 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007175/2.321, allocations: 2.965 MB / 1.034 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/2.321, allocations: 0 / 1.034 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/2.321, allocations: 183.8 kB / 1.034 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/2.328, allocations: 1.39 MB / 1.036 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/2.328, allocations: 39.97 kB / 1.036 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/2.33, allocations: 1.621 MB / 1.037 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.33, allocations: 80 / 1.037 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/2.336, allocations: 2.349 MB / 1.04 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/2.337, allocations: 279.8 kB / 1.04 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/2.337, allocations: 16 kB / 1.04 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/2.338, allocations: 115.9 kB / 1.04 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/2.338, allocations: 60.91 kB / 1.04 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/2.338, allocations: 47.95 kB / 1.04 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006756/2.339, allocations: 447 kB / 1.041 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.339, allocations: 0 / 1.041 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002943/2.342, allocations: 0.7144 MB / 1.041 GB, free: 49.92 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 (64): * Single equations (assignments): 58 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/2.344, allocations: 0.5865 MB / 1.042 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006606/2.351, allocations: 2.211 MB / 1.044 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/2.351, allocations: 0 / 1.044 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/2.352, allocations: 0.6809 MB / 1.045 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/2.355, allocations: 372.2 kB / 1.045 GB, free: 46.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/2.358, allocations: 2.062 MB / 1.047 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/2.359, allocations: 0.9775 MB / 1.048 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001359/2.36, allocations: 262.8 kB / 1.048 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/2.36, allocations: 103.4 kB / 1.048 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/2.36, allocations: 0 / 1.048 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.05091/2.411, allocations: 30.86 MB / 1.078 GB, free: 11.9 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/jenkins1/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