Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, 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.421/1.421, 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.0009434/0.0009438, allocations: 105.5 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.3789/0.3789, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005439, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4299, allocations: 61.88 MB / 0.5107 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.124/6.554, allocations: 2.771 GB / 3.281 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/6.554, allocations: 91.94 kB / 3.281 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.369/7.923, allocations: 407.3 MB / 3.679 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/7.923, allocations: 0 / 3.679 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.323e-05/7.923, allocations: 18.12 kB / 3.679 GB, free: 59.61 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006621/7.929, allocations: 1.725 MB / 3.681 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/7.929, allocations: 14.38 kB / 3.681 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/7.932, allocations: 296.4 kB / 3.681 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/7.933, allocations: 0.5393 MB / 3.682 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/7.933, allocations: 47.25 kB / 3.682 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/7.933, allocations: 50.53 kB / 3.682 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/7.935, allocations: 0.9746 MB / 3.683 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/7.935, allocations: 7.312 kB / 3.683 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/7.935, allocations: 33.47 kB / 3.683 GB, free: 57.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/7.935, allocations: 19.38 kB / 3.683 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/7.937, allocations: 0.8752 MB / 3.684 GB, free: 57.56 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.004338/7.942, allocations: 4.641 MB / 3.688 GB, free: 53.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/7.944, allocations: 0.7673 MB / 3.689 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/7.944, allocations: 277.8 kB / 3.689 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03839/7.983, allocations: 24.08 MB / 3.713 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/7.983, allocations: 34.56 kB / 3.713 GB, free: 38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/7.983, allocations: 4 kB / 3.713 GB, free: 38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.00655/7.99, allocations: 1.703 MB / 3.714 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/7.99, allocations: 106.5 kB / 3.715 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/7.99, allocations: 465.9 kB / 3.715 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/7.99, allocations: 33.64 kB / 3.715 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/7.99, allocations: 309 kB / 3.715 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/7.991, allocations: 157.5 kB / 3.716 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/7.991, allocations: 8 kB / 3.716 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/7.991, allocations: 363.6 kB / 3.716 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/7.991, allocations: 221.3 kB / 3.716 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/7.992, allocations: 396 kB / 3.716 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/7.993, allocations: 0.6008 MB / 3.717 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/7.993, allocations: 7.938 kB / 3.717 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001778/7.995, allocations: 0.7932 MB / 3.718 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/7.995, allocations: 242.8 kB / 3.718 GB, free: 35.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/7.995, allocations: 7.625 kB / 3.718 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/7.996, allocations: 248.5 kB / 3.718 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/7.996, allocations: 125.5 kB / 3.718 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/7.997, allocations: 0.7766 MB / 3.719 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/7.998, allocations: 101.9 kB / 3.719 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/7.998, allocations: 35.19 kB / 3.719 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/7.998, allocations: 5.656 kB / 3.719 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/8, allocations: 0.7233 MB / 3.72 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/8, allocations: 3 kB / 3.72 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/8.001, allocations: 204.8 kB / 3.72 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/8.001, allocations: 130.1 kB / 3.72 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007024/8.002, allocations: 0.7443 MB / 3.721 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/8.002, allocations: 103.1 kB / 3.721 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/8.002, allocations: 31.77 kB / 3.721 GB, free: 33.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003356/8.003, allocations: 283.3 kB / 3.721 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/8.003, allocations: 60.27 kB / 3.722 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/8.006, allocations: 2.921 MB / 3.724 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/8.006, allocations: 40.84 kB / 3.724 GB, free: 31.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/8.006, allocations: 3.938 kB / 3.724 GB, free: 31.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/8.006, allocations: 7.375 kB / 3.724 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/8.007, allocations: 1.424 MB / 3.726 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/8.007, allocations: 0 / 3.726 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/8.007, allocations: 93.58 kB / 3.726 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/8.008, allocations: 0.6463 MB / 3.727 GB, free: 30.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/8.008, allocations: 18.94 kB / 3.727 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/8.01, allocations: 1.215 MB / 3.728 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/8.01, allocations: 0 / 3.728 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/8.012, allocations: 1.878 MB / 3.73 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/8.012, allocations: 315.9 kB / 3.73 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/8.012, allocations: 7.719 kB / 3.73 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/8.013, allocations: 79.19 kB / 3.73 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/8.013, allocations: 51.45 kB / 3.73 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/8.013, allocations: 20.92 kB / 3.73 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003997/8.013, allocations: 421 kB / 3.73 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.82e-07/8.013, allocations: 4 kB / 3.73 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005226/8.018, allocations: 1.356 MB / 3.732 GB, free: 28.46 MB / 0.5261 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.006619/8.025, allocations: 1.647 MB / 3.733 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002558/8.028, allocations: 1.292 MB / 3.735 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/8.028, allocations: 3.938 kB / 3.735 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/8.028, allocations: 0.7746 MB / 3.735 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/8.03, allocations: 321.4 kB / 3.736 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/8.033, allocations: 2.821 MB / 3.738 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/8.033, allocations: 1.117 MB / 3.74 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008854/8.034, allocations: 0.6596 MB / 3.74 GB, free: 24.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/8.034, allocations: 56.41 kB / 3.74 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/8.034, allocations: 0 / 3.74 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05247/8.087, allocations: 43.75 MB / 3.783 GB, free: 14.69 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches