Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 104.6 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3373/0.3373, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002543, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3569, allocations: 63.25 MB / 0.5192 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.291/6.648, allocations: 2.788 GB / 3.307 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/6.648, allocations: 90.06 kB / 3.307 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.512/8.16, allocations: 444.8 MB / 3.742 GB, free: 65.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.743e-06/8.16, allocations: 0 / 3.742 GB, free: 65.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.013e-05/8.16, allocations: 19.66 kB / 3.742 GB, free: 65.27 MB / 0.5417 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.007448/8.167, allocations: 1.848 MB / 3.744 GB, free: 64.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/8.167, allocations: 11.81 kB / 3.744 GB, free: 64.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/8.17, allocations: 323.2 kB / 3.744 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/8.171, allocations: 0.5652 MB / 3.744 GB, free: 63.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/8.171, allocations: 44.39 kB / 3.744 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/8.172, allocations: 56.45 kB / 3.745 GB, free: 63.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/8.174, allocations: 1.001 MB / 3.746 GB, free: 63.26 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/8.174, allocations: 0 / 3.746 GB, free: 63.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/8.174, allocations: 27.5 kB / 3.746 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/8.174, allocations: 26.31 kB / 3.746 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/8.176, allocations: 0.9024 MB / 3.746 GB, free: 63.02 MB / 0.5417 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.004443/8.181, allocations: 4.809 MB / 3.751 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/8.182, allocations: 0.6866 MB / 3.752 GB, free: 58.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04183/8.224, allocations: 26.65 MB / 3.778 GB, free: 40.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/8.224, allocations: 42.25 kB / 3.778 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.727e-06/8.224, allocations: 0 / 3.778 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.006391/8.231, allocations: 1.647 MB / 3.779 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/8.231, allocations: 109.9 kB / 3.78 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/8.232, allocations: 458.6 kB / 3.78 GB, free: 39.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/8.232, allocations: 36.55 kB / 3.78 GB, free: 39.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/8.232, allocations: 338.3 kB / 3.78 GB, free: 39.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/8.232, allocations: 149.9 kB / 3.781 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/8.232, allocations: 14.03 kB / 3.781 GB, free: 39.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000115/8.232, allocations: 372.7 kB / 3.781 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/8.233, allocations: 234.7 kB / 3.781 GB, free: 38.92 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/8.234, allocations: 412.7 kB / 3.782 GB, free: 38.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/8.234, allocations: 274.4 kB / 3.782 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/8.234, allocations: 3.938 kB / 3.782 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001722/8.236, allocations: 0.8108 MB / 3.783 GB, free: 38.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/8.236, allocations: 2.005 MB / 3.785 GB, free: 36.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/8.236, allocations: 3.219 kB / 3.785 GB, free: 36.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/8.238, allocations: 299.9 kB / 3.785 GB, free: 36.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/8.238, allocations: 135.7 kB / 3.785 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009713/8.239, allocations: 0.801 MB / 3.786 GB, free: 35.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009433/8.24, allocations: 119.4 kB / 3.786 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/8.24, allocations: 34.58 kB / 3.786 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/8.241, allocations: 3.875 kB / 3.786 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00214/8.243, allocations: 0.759 MB / 3.787 GB, free: 35.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/8.243, allocations: 6.734 kB / 3.787 GB, free: 35.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/8.244, allocations: 212.1 kB / 3.787 GB, free: 35.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/8.244, allocations: 138.7 kB / 3.787 GB, free: 35.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/8.245, allocations: 0.7524 MB / 3.788 GB, free: 34.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/8.246, allocations: 114.4 kB / 3.788 GB, free: 34.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/8.246, allocations: 31.52 kB / 3.788 GB, free: 34.37 MB / 0.5417 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.0004285/8.246, allocations: 278.9 kB / 3.788 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/8.247, allocations: 58.09 kB / 3.788 GB, free: 34.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/8.25, allocations: 3.02 MB / 3.791 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/8.25, allocations: 43.34 kB / 3.791 GB, free: 32.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/8.25, allocations: 3.797 kB / 3.791 GB, free: 32.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/8.25, allocations: 0 / 3.791 GB, free: 32.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/8.252, allocations: 1.456 MB / 3.793 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/8.252, allocations: 3.531 kB / 3.793 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/8.252, allocations: 91.95 kB / 3.793 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/8.254, allocations: 1.053 MB / 3.794 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/8.254, allocations: 15.61 kB / 3.794 GB, free: 31.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/8.255, allocations: 1.441 MB / 3.795 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/8.255, allocations: 0 / 3.795 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/8.258, allocations: 2.019 MB / 3.797 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/8.258, allocations: 327.1 kB / 3.797 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/8.258, allocations: 12 kB / 3.797 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/8.259, allocations: 85.38 kB / 3.797 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/8.259, allocations: 53.12 kB / 3.798 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/8.259, allocations: 24 kB / 3.798 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005143/8.26, allocations: 462.4 kB / 3.798 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.26, allocations: 0 / 3.798 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005799/8.266, allocations: 1.43 MB / 3.799 GB, free: 27.58 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.00676/8.272, allocations: 1.726 MB / 3.801 GB, free: 26.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002705/8.275, allocations: 1.331 MB / 3.802 GB, free: 25.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/8.275, allocations: 0 / 3.802 GB, free: 25.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008995/8.276, allocations: 0.7876 MB / 3.803 GB, free: 24.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/8.278, allocations: 312.9 kB / 3.803 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/8.281, allocations: 2.886 MB / 3.806 GB, free: 21.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/8.281, allocations: 1.153 MB / 3.807 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009178/8.282, allocations: 0.6532 MB / 3.808 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/8.282, allocations: 55.14 kB / 3.808 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/8.282, allocations: 0 / 3.808 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.3157/8.598, allocations: 42.97 MB / 3.85 GB, free: 83.61 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches