Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 180.5 kB / 8.365 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 91.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.311/0.311, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.197e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7781/1.178, allocations: 320.3 MB / 0.7787 GB, free: 16.17 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.178, allocations: 86.77 kB / 0.7788 GB, free: 16.12 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8499/2.028, allocations: 164.1 MB / 0.939 GB, free: 95.21 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.693e-06/2.028, allocations: 0 / 0.939 GB, free: 95.21 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.874e-05/2.028, allocations: 16 kB / 0.939 GB, free: 95.19 MB / 0.4952 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.003506/2.032, allocations: 1.038 MB / 0.9401 GB, free: 94.12 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/2.032, allocations: 11.97 kB / 0.9401 GB, free: 94.11 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/2.033, allocations: 99.83 kB / 0.9402 GB, free: 94.01 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/2.034, allocations: 0.6164 MB / 0.9408 GB, free: 93.37 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/2.034, allocations: 16 kB / 0.9408 GB, free: 93.35 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/2.034, allocations: 32 kB / 0.9408 GB, free: 93.32 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/2.036, allocations: 0.6234 MB / 0.9414 GB, free: 92.7 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/2.037, allocations: 0.6632 MB / 0.9421 GB, free: 91.98 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/2.037, allocations: 4 kB / 0.9421 GB, free: 91.97 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/2.037, allocations: 0 / 0.9421 GB, free: 91.97 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/2.037, allocations: 25.31 kB / 0.9421 GB, free: 91.95 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/2.043, allocations: 3.187 MB / 0.9452 GB, free: 88.64 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/2.045, allocations: 388.5 kB / 0.9456 GB, free: 88.25 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/2.045, allocations: 245.5 kB / 0.9458 GB, free: 88.01 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/2.046, allocations: 0.5757 MB / 0.9464 GB, free: 87.31 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/2.046, allocations: 38.56 kB / 0.9464 GB, free: 87.27 MB / 0.4952 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001141/2.047, allocations: 115.5 kB / 0.9465 GB, free: 87.15 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=45): time 3.697e-06/2.047, allocations: 0 / 0.9465 GB, free: 87.15 MB / 0.4952 GB Notification: Performance of matching and sorting (n=63): time 0.05297/2.1, allocations: 4.964 MB / 0.9514 GB, free: 82.07 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/2.1, allocations: 111.4 kB / 0.9515 GB, free: 81.94 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/2.101, allocations: 463.4 kB / 0.9519 GB, free: 81.48 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/2.101, allocations: 25.7 kB / 0.9519 GB, free: 81.45 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/2.101, allocations: 390.3 kB / 0.9523 GB, free: 81.07 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/2.101, allocations: 208.8 kB / 0.9525 GB, free: 80.86 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/2.101, allocations: 0 / 0.9525 GB, free: 80.86 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/2.101, allocations: 346.8 kB / 0.9528 GB, free: 80.51 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/2.102, allocations: 273.5 kB / 0.9531 GB, free: 80.24 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007839/2.103, allocations: 464.1 kB / 0.9536 GB, free: 79.72 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/2.108, allocations: 0.6617 MB / 0.9542 GB, free: 79.05 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/2.108, allocations: 0 / 0.9542 GB, free: 79.05 MB / 0.4952 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.007154/2.115, allocations: 1.296 MB / 0.9555 GB, free: 77.75 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004519/2.115, allocations: 2.017 MB / 0.9574 GB, free: 75.57 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/2.115, allocations: 4 kB / 0.9574 GB, free: 75.57 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007519/2.123, allocations: 0.7307 MB / 0.9582 GB, free: 74.83 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/2.124, allocations: 199.7 kB / 0.9583 GB, free: 74.64 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/2.131, allocations: 1.901 MB / 0.9602 GB, free: 72.68 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/2.133, allocations: 87.89 kB / 0.9603 GB, free: 72.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/2.133, allocations: 59.94 kB / 0.9603 GB, free: 72.54 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/2.133, allocations: 4 kB / 0.9603 GB, free: 72.54 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006638/2.14, allocations: 1.065 MB / 0.9614 GB, free: 71.47 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/2.14, allocations: 12 kB / 0.9614 GB, free: 71.46 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/2.142, allocations: 253.4 kB / 0.9616 GB, free: 71.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/2.144, allocations: 219.6 kB / 0.9618 GB, free: 70.99 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/2.154, allocations: 4.569 MB / 0.9663 GB, free: 66.16 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/2.156, allocations: 87.91 kB / 0.9664 GB, free: 66.07 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/2.156, allocations: 43.97 kB / 0.9664 GB, free: 66.03 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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.0003797/2.156, allocations: 120.8 kB / 0.9665 GB, free: 65.9 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/2.157, allocations: 82.95 kB / 0.9666 GB, free: 65.82 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005601/2.162, allocations: 1.387 MB / 0.968 GB, free: 64.41 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/2.162, allocations: 12 kB / 0.968 GB, free: 64.4 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/2.162, allocations: 0 / 0.968 GB, free: 64.4 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/2.162, allocations: 3.984 kB / 0.968 GB, free: 64.39 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007734/2.17, allocations: 2.19 MB / 0.9701 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/2.17, allocations: 0 / 0.9701 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/2.171, allocations: 159.8 kB / 0.9703 GB, free: 62.01 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/2.175, allocations: 495.7 kB / 0.9708 GB, free: 61.53 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/2.175, allocations: 19.97 kB / 0.9708 GB, free: 61.51 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/2.177, allocations: 1.593 MB / 0.9723 GB, free: 59.86 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/2.177, allocations: 0 / 0.9723 GB, free: 59.86 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/2.183, allocations: 1.596 MB / 0.9739 GB, free: 58.25 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/2.184, allocations: 259.8 kB / 0.9741 GB, free: 57.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/2.184, allocations: 0 / 0.9741 GB, free: 57.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/2.185, allocations: 79.97 kB / 0.9742 GB, free: 57.89 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/2.185, allocations: 64.64 kB / 0.9743 GB, free: 57.83 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/2.186, allocations: 39.97 kB / 0.9743 GB, free: 57.79 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005384/2.186, allocations: 351.2 kB / 0.9747 GB, free: 57.45 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/2.186, allocations: 0 / 0.9747 GB, free: 57.45 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002796/2.189, allocations: 0.6402 MB / 0.9753 GB, free: 56.81 MB / 0.4952 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * 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.0019/2.191, allocations: 0.578 MB / 0.9758 GB, free: 56.27 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.006406/2.197, allocations: 1.427 MB / 0.9772 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.197, allocations: 0 / 0.9772 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/2.199, allocations: 415.3 kB / 0.9776 GB, free: 54.41 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/2.201, allocations: 297.3 kB / 0.9779 GB, free: 54.13 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/2.204, allocations: 1.083 MB / 0.979 GB, free: 53.01 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/2.204, allocations: 0.9843 MB / 0.9799 GB, free: 52 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/2.205, allocations: 79.39 kB / 0.98 GB, free: 51.92 MB / 0.4952 GB Notification: Performance of SimCode: time 9.21e-07/2.205, allocations: 0 / 0.98 GB, free: 51.92 MB / 0.4952 GB Notification: Performance of Templates: time 0.03899/2.244, allocations: 22.88 MB / 1.002 GB, free: 29.04 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpRecirculation/TestWaterPumpRecirculation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches