Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002202/0.002202, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001173/0.001173, allocations: 93.3 kB / 270.9 MB, free: 8.383 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.5058/0.5058, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.000465, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.561/8.684, allocations: 2.782 GB / 3.261 GB, free: 28.5 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/8.684, allocations: 86.2 kB / 3.261 GB, free: 28.45 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.498/11.18, allocations: 441.1 MB / 3.692 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.066e-06/11.18, allocations: 0 / 3.692 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.332e-05/11.18, allocations: 22.77 kB / 3.692 GB, free: 56.15 MB / 0.5105 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.00844/11.19, allocations: 1.87 MB / 3.694 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/11.19, allocations: 9.969 kB / 3.694 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/11.19, allocations: 328.4 kB / 3.694 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/11.2, allocations: 0.5753 MB / 3.694 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/11.2, allocations: 55.17 kB / 3.694 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/11.2, allocations: 59.78 kB / 3.695 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/11.2, allocations: 1.023 MB / 3.696 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/11.2, allocations: 4 kB / 3.696 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/11.2, allocations: 33.84 kB / 3.696 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/11.2, allocations: 21.56 kB / 3.696 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/11.2, allocations: 0.9324 MB / 3.697 GB, free: 55 MB / 0.5105 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.007995/11.21, allocations: 4.841 MB / 3.701 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/11.22, allocations: 0.8299 MB / 3.702 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07299/11.29, allocations: 24.09 MB / 3.726 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/11.29, allocations: 46.3 kB / 3.726 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.266e-06/11.29, allocations: 0 / 3.726 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.01186/11.3, allocations: 1.868 MB / 3.727 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/11.3, allocations: 107.2 kB / 3.728 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/11.3, allocations: 475.5 kB / 3.728 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/11.3, allocations: 34.8 kB / 3.728 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/11.3, allocations: 384.1 kB / 3.728 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/11.3, allocations: 157.6 kB / 3.729 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/11.3, allocations: 13.47 kB / 3.729 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/11.3, allocations: 338.4 kB / 3.729 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/11.3, allocations: 268.4 kB / 3.729 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/11.31, allocations: 442.6 kB / 3.73 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/11.31, allocations: 308.8 kB / 3.73 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/11.31, allocations: 0 / 3.73 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003151/11.31, allocations: 0.8563 MB / 3.731 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004311/11.31, allocations: 2.013 MB / 3.733 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/11.31, allocations: 6.5 kB / 3.733 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004106/11.31, allocations: 471.8 kB / 3.733 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.32, allocations: 147.5 kB / 3.733 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/11.32, allocations: 0.849 MB / 3.734 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/11.32, allocations: 128.3 kB / 3.734 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/11.32, allocations: 37.66 kB / 3.734 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/11.32, allocations: 5.844 kB / 3.734 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003513/11.32, allocations: 0.8247 MB / 3.735 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/11.32, allocations: 6.438 kB / 3.735 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/11.32, allocations: 196.6 kB / 3.735 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/11.33, allocations: 156.4 kB / 3.735 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/11.33, allocations: 0.7631 MB / 3.736 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/11.33, allocations: 105.8 kB / 3.736 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/11.33, allocations: 37.62 kB / 3.736 GB, free: 32.52 MB / 0.5105 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.0005532/11.33, allocations: 292 kB / 3.737 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/11.33, allocations: 64.22 kB / 3.737 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/11.34, allocations: 3.082 MB / 3.74 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/11.34, allocations: 45.34 kB / 3.74 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/11.34, allocations: 0 / 3.74 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/11.34, allocations: 8.391 kB / 3.74 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/11.34, allocations: 1.476 MB / 3.741 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/11.34, allocations: 0 / 3.741 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/11.34, allocations: 91.75 kB / 3.741 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/11.34, allocations: 1.246 MB / 3.742 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/11.34, allocations: 16.11 kB / 3.742 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/11.35, allocations: 1.498 MB / 3.744 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/11.35, allocations: 3.953 kB / 3.744 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/11.35, allocations: 2.077 MB / 3.746 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/11.35, allocations: 340.6 kB / 3.746 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/11.35, allocations: 17.17 kB / 3.746 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009573/11.35, allocations: 85.08 kB / 3.746 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/11.35, allocations: 45.16 kB / 3.746 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/11.35, allocations: 21.84 kB / 3.746 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008486/11.35, allocations: 478.3 kB / 3.747 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/11.35, allocations: 0 / 3.747 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007278/11.36, allocations: 1.432 MB / 3.748 GB, free: 30.29 MB / 0.5105 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.01093/11.37, allocations: 1.714 MB / 3.75 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005951/11.38, allocations: 1.422 MB / 3.751 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/11.38, allocations: 3.375 kB / 3.751 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/11.38, allocations: 0.8078 MB / 3.752 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/11.38, allocations: 319.9 kB / 3.752 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/11.39, allocations: 2.971 MB / 3.755 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/11.39, allocations: 1.166 MB / 3.756 GB, free: 27.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/11.39, allocations: 60.59 kB / 3.757 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/11.39, allocations: 0 / 3.757 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.07529/11.46, allocations: 38.33 MB / 3.794 GB, free: 24.77 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches