Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001048, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.36 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3921/0.3921, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4227, allocations: 61.88 MB / 0.5107 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.418/6.841, allocations: 2.788 GB / 3.299 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/6.841, allocations: 91.94 kB / 3.299 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.453/8.293, allocations: 426 MB / 3.715 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.063e-06/8.293, allocations: 0 / 3.715 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000101/8.294, allocations: 27 kB / 3.715 GB, free: 45.32 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00725/8.301, allocations: 1.86 MB / 3.717 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/8.301, allocations: 13.25 kB / 3.717 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/8.304, allocations: 328.1 kB / 3.717 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/8.305, allocations: 0.5902 MB / 3.718 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/8.305, allocations: 55.88 kB / 3.718 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/8.305, allocations: 54.53 kB / 3.718 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/8.307, allocations: 1.03 MB / 3.719 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/8.308, allocations: 0 / 3.719 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/8.308, allocations: 27.78 kB / 3.719 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/8.308, allocations: 26.69 kB / 3.719 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/8.31, allocations: 0.9238 MB / 3.72 GB, free: 43 MB / 0.5261 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.005185/8.315, allocations: 4.847 MB / 3.724 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/8.317, allocations: 0.8354 MB / 3.725 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/8.318, allocations: 295.2 kB / 3.725 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03874/8.357, allocations: 24.1 MB / 3.749 GB, free: 17.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/8.357, allocations: 35 kB / 3.749 GB, free: 17.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/8.357, allocations: 0 / 3.749 GB, free: 17.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.007503/8.364, allocations: 1.995 MB / 3.751 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/8.364, allocations: 111.2 kB / 3.751 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/8.365, allocations: 0.5379 MB / 3.752 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/8.365, allocations: 29.7 kB / 3.752 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/8.365, allocations: 342.7 kB / 3.752 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/8.366, allocations: 161.3 kB / 3.752 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/8.366, allocations: 8 kB / 3.752 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/8.366, allocations: 374.8 kB / 3.752 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/8.366, allocations: 269.1 kB / 3.753 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/8.367, allocations: 452.2 kB / 3.753 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/8.368, allocations: 0.6838 MB / 3.754 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/8.368, allocations: 0 / 3.754 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001812/8.37, allocations: 0.8902 MB / 3.755 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/8.37, allocations: 242.1 kB / 3.755 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/8.37, allocations: 8 kB / 3.755 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/8.373, allocations: 0.5157 MB / 3.755 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/8.373, allocations: 143.8 kB / 3.756 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/8.374, allocations: 0.8487 MB / 3.756 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/8.375, allocations: 131.3 kB / 3.757 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/8.375, allocations: 39.98 kB / 3.757 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/8.375, allocations: 0 / 3.757 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001778/8.377, allocations: 0.8266 MB / 3.757 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/8.377, allocations: 8 kB / 3.757 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009182/8.378, allocations: 213 kB / 3.758 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/8.379, allocations: 155.8 kB / 3.758 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009076/8.379, allocations: 0.7661 MB / 3.758 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/8.38, allocations: 123.4 kB / 3.759 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/8.38, allocations: 39.92 kB / 3.759 GB, free: 7.535 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: 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.000388/8.381, allocations: 283 kB / 3.759 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/8.381, allocations: 67.19 kB / 3.759 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/8.384, allocations: 3.079 MB / 3.762 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/8.384, allocations: 51.86 kB / 3.762 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/8.384, allocations: 4 kB / 3.762 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/8.384, allocations: 0 / 3.762 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/8.385, allocations: 1.479 MB / 3.763 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/8.385, allocations: 0 / 3.763 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/8.386, allocations: 87.94 kB / 3.764 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/8.388, allocations: 1.251 MB / 3.765 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/8.388, allocations: 12 kB / 3.765 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/8.39, allocations: 1.497 MB / 3.766 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/8.39, allocations: 0 / 3.766 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/8.393, allocations: 2.091 MB / 3.768 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/8.393, allocations: 334.6 kB / 3.769 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/8.393, allocations: 12 kB / 3.769 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/8.394, allocations: 87.7 kB / 3.769 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/8.394, allocations: 48.48 kB / 3.769 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/8.394, allocations: 23.98 kB / 3.769 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007126/8.395, allocations: 483 kB / 3.769 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/8.395, allocations: 0 / 3.769 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006217/8.401, allocations: 1.443 MB / 3.771 GB, free: 11.1 MB / 0.5417 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.008941/8.41, allocations: 1.71 MB / 3.772 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003696/8.414, allocations: 1.425 MB / 3.774 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/8.414, allocations: 0 / 3.774 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/8.415, allocations: 0.8049 MB / 3.774 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/8.417, allocations: 324.8 kB / 3.775 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/8.421, allocations: 2.939 MB / 3.778 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/8.422, allocations: 1.138 MB / 3.779 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001187/8.423, allocations: 0.6478 MB / 3.779 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/8.423, allocations: 55.42 kB / 3.779 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/8.423, allocations: 4 kB / 3.779 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of Templates: time 0.3123/8.736, allocations: 45.87 MB / 3.824 GB, free: 71.18 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches