Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 179 kB / 18.09 MB, free: 3.754 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.37/1.37, 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.0008066/0.0008066, allocations: 99.84 kB / 293.3 MB, free: 10.79 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.3552/0.3552, allocations: 44.14 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4306, allocations: 61.87 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.395/6.826, allocations: 2.788 GB / 3.298 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/6.826, allocations: 91.94 kB / 3.298 GB, free: 66.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.453/8.279, allocations: 424.8 MB / 3.713 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/8.279, allocations: 0 / 3.713 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.807e-05/8.279, allocations: 19.47 kB / 3.713 GB, free: 45.72 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00787/8.287, allocations: 1.831 MB / 3.715 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/8.287, allocations: 11.44 kB / 3.715 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/8.29, allocations: 328.8 kB / 3.715 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/8.291, allocations: 0.5875 MB / 3.716 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/8.291, allocations: 48.73 kB / 3.716 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/8.291, allocations: 55.25 kB / 3.716 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/8.294, allocations: 1.006 MB / 3.717 GB, free: 43.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/8.294, allocations: 0 / 3.717 GB, free: 43.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/8.294, allocations: 30.44 kB / 3.717 GB, free: 43.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/8.294, allocations: 23.38 kB / 3.717 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/8.296, allocations: 0.8998 MB / 3.718 GB, free: 43.41 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.004751/8.301, allocations: 4.808 MB / 3.723 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/8.303, allocations: 0.6933 MB / 3.723 GB, free: 39.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/8.303, allocations: 283.7 kB / 3.724 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03843/8.342, allocations: 24.09 MB / 3.747 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/8.342, allocations: 46.52 kB / 3.747 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/8.342, allocations: 0 / 3.747 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.006549/8.348, allocations: 1.751 MB / 3.749 GB, free: 17.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/8.348, allocations: 106.8 kB / 3.749 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/8.349, allocations: 0.5183 MB / 3.749 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/8.349, allocations: 33.7 kB / 3.749 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/8.35, allocations: 332.1 kB / 3.75 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/8.35, allocations: 145 kB / 3.75 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/8.35, allocations: 8 kB / 3.75 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/8.35, allocations: 366.7 kB / 3.75 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/8.35, allocations: 240.9 kB / 3.751 GB, free: 16.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/8.351, allocations: 419.2 kB / 3.751 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/8.352, allocations: 0.6301 MB / 3.752 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/8.352, allocations: 4 kB / 3.752 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001663/8.354, allocations: 0.8103 MB / 3.752 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/8.354, allocations: 235.9 kB / 3.753 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/8.354, allocations: 8 kB / 3.753 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/8.356, allocations: 348.4 kB / 3.753 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/8.356, allocations: 131.8 kB / 3.753 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008934/8.357, allocations: 0.805 MB / 3.754 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/8.358, allocations: 119.4 kB / 3.754 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/8.358, allocations: 31.98 kB / 3.754 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/8.358, allocations: 4 kB / 3.754 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/8.36, allocations: 0.7657 MB / 3.755 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/8.36, allocations: 8 kB / 3.755 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/8.361, allocations: 212.6 kB / 3.755 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/8.361, allocations: 143.8 kB / 3.755 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/8.362, allocations: 0.7513 MB / 3.756 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/8.363, allocations: 107.4 kB / 3.756 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/8.363, allocations: 39.92 kB / 3.756 GB, free: 10.26 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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003954/8.363, allocations: 276.9 kB / 3.756 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/8.363, allocations: 63.25 kB / 3.756 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/8.366, allocations: 3.012 MB / 3.759 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/8.366, allocations: 43.88 kB / 3.759 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/8.366, allocations: 0 / 3.759 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/8.366, allocations: 3.984 kB / 3.759 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/8.368, allocations: 1.453 MB / 3.761 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/8.368, allocations: 0 / 3.761 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/8.368, allocations: 87.88 kB / 3.761 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/8.37, allocations: 1.065 MB / 3.762 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/8.37, allocations: 11.98 kB / 3.762 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/8.371, allocations: 1.431 MB / 3.763 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/8.371, allocations: 0 / 3.763 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/8.374, allocations: 2.04 MB / 3.765 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/8.374, allocations: 322.7 kB / 3.765 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/8.374, allocations: 12 kB / 3.766 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/8.375, allocations: 87.83 kB / 3.766 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/8.375, allocations: 56.41 kB / 3.766 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/8.375, allocations: 19.98 kB / 3.766 GB, free: 160 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006535/8.376, allocations: 467 kB / 3.766 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/8.376, allocations: 0 / 3.766 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00646/8.382, allocations: 1.42 MB / 3.767 GB, free: 14.28 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009417/8.392, allocations: 1.705 MB / 3.769 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003321/8.395, allocations: 1.331 MB / 3.77 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/8.395, allocations: 448 / 3.77 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/8.396, allocations: 0.7924 MB / 3.771 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/8.398, allocations: 328.1 kB / 3.772 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/8.403, allocations: 2.887 MB / 3.774 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008722/8.403, allocations: 1.127 MB / 3.775 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001236/8.405, allocations: 0.6492 MB / 3.776 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/8.405, allocations: 59.42 kB / 3.776 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of SimCode: time 4.8e-07/8.405, allocations: 0 / 3.776 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of Templates: time 0.3412/8.746, allocations: 45.27 MB / 3.82 GB, free: 71.88 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches