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.00209/0.002094, allocations: 186.1 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 97.97 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4953/0.4953, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 16 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.199, allocations: 321.1 MB / 0.7923 GB, free: 50.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.2, allocations: 86.33 kB / 0.7924 GB, free: 50.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8547/2.055, allocations: 165.8 MB / 0.9543 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.314e-06/2.055, allocations: 4 kB / 0.9543 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.171e-05/2.055, allocations: 20 kB / 0.9543 GB, free: 103.3 MB / 0.4948 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.004077/2.059, allocations: 1.145 MB / 0.9554 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.059, allocations: 12.03 kB / 0.9554 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/2.06, allocations: 103 kB / 0.9555 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/2.061, allocations: 0.6043 MB / 0.9561 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/2.061, allocations: 45.31 kB / 0.9562 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/2.061, allocations: 48 kB / 0.9562 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/2.064, allocations: 0.8533 MB / 0.957 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/2.064, allocations: 3.938 kB / 0.957 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/2.064, allocations: 24 kB / 0.9571 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/2.064, allocations: 17.86 kB / 0.9571 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/2.066, allocations: 0.7884 MB / 0.9579 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/2.073, allocations: 3.308 MB / 0.9611 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/2.074, allocations: 496.3 kB / 0.9616 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/2.075, allocations: 0.5739 MB / 0.9621 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/2.075, allocations: 44.42 kB / 0.9622 GB, free: 94.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001233/2.076, allocations: 129.6 kB / 0.9623 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.978e-06/2.076, allocations: 3.938 kB / 0.9623 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.07754/2.154, allocations: 7.569 MB / 0.9697 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/2.154, allocations: 111.5 kB / 0.9698 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/2.155, allocations: 0.5504 MB / 0.9703 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002398/2.155, allocations: 37.7 kB / 0.9704 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/2.155, allocations: 378.6 kB / 0.9707 GB, free: 85.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/2.156, allocations: 250.6 kB / 0.971 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/2.156, allocations: 16 kB / 0.971 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/2.156, allocations: 342.8 kB / 0.9713 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/2.158, allocations: 0.4899 MB / 0.9718 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/2.161, allocations: 0.6832 MB / 0.9724 GB, free: 84.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/2.163, allocations: 0.5458 MB / 0.973 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/2.163, allocations: 8 kB / 0.973 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00606/2.169, allocations: 1.467 MB / 0.9744 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004372/2.17, allocations: 2.008 MB / 0.9764 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/2.17, allocations: 8 kB / 0.9764 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/2.182, allocations: 1.23 MB / 0.9776 GB, free: 78.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/2.184, allocations: 235.7 kB / 0.9778 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/2.188, allocations: 1.656 MB / 0.9794 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/2.19, allocations: 123.8 kB / 0.9796 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/2.19, allocations: 63.94 kB / 0.9796 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/2.19, allocations: 4 kB / 0.9796 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006877/2.197, allocations: 1.418 MB / 0.981 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/2.197, allocations: 12.36 kB / 0.981 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/2.201, allocations: 397.3 kB / 0.9814 GB, free: 74.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/2.203, allocations: 259.6 kB / 0.9816 GB, free: 74.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/2.208, allocations: 2.711 MB / 0.9843 GB, free: 71.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/2.21, allocations: 123.8 kB / 0.9844 GB, free: 71.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/2.21, allocations: 55.94 kB / 0.9845 GB, free: 71.4 MB / 0.4948 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.0006714/2.211, allocations: 296.9 kB / 0.9847 GB, free: 71.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/2.211, allocations: 79.06 kB / 0.9848 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007993/2.219, allocations: 1.865 MB / 0.9866 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/2.219, allocations: 12 kB / 0.9866 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/2.219, allocations: 0 / 0.9866 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/2.219, allocations: 3.984 kB / 0.9867 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/2.23, allocations: 2.85 MB / 0.9894 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/2.23, allocations: 0 / 0.9894 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/2.231, allocations: 183.8 kB / 0.9896 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/2.243, allocations: 1.285 MB / 0.9909 GB, free: 64.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/2.243, allocations: 31.97 kB / 0.9909 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/2.245, allocations: 1.572 MB / 0.9924 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.245, allocations: 4.062 kB / 0.9924 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00913/2.254, allocations: 2.271 MB / 0.9947 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/2.255, allocations: 275.8 kB / 0.9949 GB, free: 60.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/2.255, allocations: 23.98 kB / 0.9949 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/2.257, allocations: 119.9 kB / 0.9951 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/2.257, allocations: 60.91 kB / 0.9951 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/2.257, allocations: 43.95 kB / 0.9952 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007314/2.258, allocations: 439 kB / 0.9956 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.7e-07/2.258, allocations: 0 / 0.9956 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002965/2.261, allocations: 0.7026 MB / 0.9963 GB, free: 59.16 MB / 0.4948 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.002043/2.263, allocations: 0.5757 MB / 0.9968 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01025/2.273, allocations: 2.152 MB / 0.9989 GB, free: 56.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/2.273, allocations: 0 / 0.9989 GB, free: 56.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/2.276, allocations: 0.677 MB / 0.9996 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/2.28, allocations: 366.5 kB / 0.9999 GB, free: 55.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/2.284, allocations: 2.06 MB / 1.002 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/2.285, allocations: 0.9931 MB / 1.003 GB, free: 52.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/2.285, allocations: 103.3 kB / 1.003 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/2.285, allocations: 4 kB / 1.003 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.0426/2.328, allocations: 24.63 MB / 1.027 GB, free: 27.59 MB / 0.4948 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