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.00147/0.00147, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001103/0.001103, allocations: 94.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2764/0.2764, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.994e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.013/8.136, allocations: 2.782 GB / 3.255 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/8.136, allocations: 86.55 kB / 3.255 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.17/10.31, allocations: 439.9 MB / 3.684 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/10.31, allocations: 3.781 kB / 3.684 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.683e-05/10.31, allocations: 16 kB / 3.684 GB, free: 43.06 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.007967/10.31, allocations: 1.77 MB / 3.686 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/10.31, allocations: 8.031 kB / 3.686 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/10.32, allocations: 334.7 kB / 3.687 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/10.32, allocations: 0.5819 MB / 3.687 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/10.32, allocations: 53.31 kB / 3.687 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/10.32, allocations: 56 kB / 3.687 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/10.32, allocations: 0.9937 MB / 3.688 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/10.32, allocations: 3.938 kB / 3.688 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/10.32, allocations: 27.12 kB / 3.688 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/10.32, allocations: 29.3 kB / 3.688 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/10.33, allocations: 0.8248 MB / 3.689 GB, free: 38.26 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.008374/10.34, allocations: 4.842 MB / 3.694 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/10.34, allocations: 0.7623 MB / 3.695 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/10.34, allocations: 230.1 kB / 3.695 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07387/10.41, allocations: 24.17 MB / 3.718 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/10.41, allocations: 38.94 kB / 3.718 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/10.41, allocations: 0 / 3.718 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.004831/10.42, allocations: 1.074 MB / 3.719 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/10.42, allocations: 111.2 kB / 3.72 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/10.42, allocations: 464.8 kB / 3.72 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/10.42, allocations: 37.7 kB / 3.72 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/10.42, allocations: 370.4 kB / 3.72 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/10.42, allocations: 165.6 kB / 3.721 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/10.42, allocations: 12 kB / 3.721 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/10.42, allocations: 342.8 kB / 3.721 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/10.42, allocations: 189.5 kB / 3.721 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/10.42, allocations: 361.6 kB / 3.721 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/10.42, allocations: 229.6 kB / 3.722 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/10.42, allocations: 0 / 3.722 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001802/10.42, allocations: 0.6875 MB / 3.722 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.3698/10.79, allocations: 2.001 MB / 3.724 GB, free: 64.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/10.79, allocations: 4.484 kB / 3.724 GB, free: 64.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/10.8, allocations: 441.9 kB / 3.725 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/10.8, allocations: 146.9 kB / 3.725 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/10.8, allocations: 0.8034 MB / 3.726 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/10.8, allocations: 127.3 kB / 3.726 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/10.8, allocations: 36.59 kB / 3.726 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/10.8, allocations: 4.375 kB / 3.726 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002265/10.8, allocations: 0.6591 MB / 3.726 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/10.8, allocations: 4.719 kB / 3.726 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/10.81, allocations: 159.9 kB / 3.727 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/10.81, allocations: 161.2 kB / 3.727 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/10.81, allocations: 0.7041 MB / 3.727 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/10.81, allocations: 115.7 kB / 3.728 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/10.81, allocations: 35.25 kB / 3.728 GB, free: 63.13 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 () * 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.0002741/10.81, allocations: 144.2 kB / 3.728 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/10.81, allocations: 66 kB / 3.728 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/10.81, allocations: 3.065 MB / 3.731 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/10.81, allocations: 43.5 kB / 3.731 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/10.81, allocations: 3.125 kB / 3.731 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/10.81, allocations: 3.797 kB / 3.731 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/10.82, allocations: 1.467 MB / 3.732 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/10.82, allocations: 0 / 3.732 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/10.82, allocations: 96.5 kB / 3.732 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005132/10.82, allocations: 1.399 MB / 3.734 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/10.82, allocations: 14.7 kB / 3.734 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/10.83, allocations: 1.536 MB / 3.735 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/10.83, allocations: 0 / 3.735 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/10.83, allocations: 2.021 MB / 3.737 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/10.83, allocations: 340.1 kB / 3.737 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/10.83, allocations: 13.28 kB / 3.737 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/10.83, allocations: 86.36 kB / 3.738 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/10.83, allocations: 49.02 kB / 3.738 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/10.83, allocations: 24.27 kB / 3.738 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009039/10.83, allocations: 464.1 kB / 3.738 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/10.83, allocations: 0 / 3.738 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007287/10.84, allocations: 1.434 MB / 3.739 GB, free: 61.31 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 () * 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.01115/10.85, allocations: 1.712 MB / 3.741 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004408/10.85, allocations: 1.202 MB / 3.742 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/10.85, allocations: 1.094 kB / 3.742 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/10.86, allocations: 0.7414 MB / 3.743 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/10.86, allocations: 325.3 kB / 3.743 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/10.86, allocations: 1.805 MB / 3.745 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/10.86, allocations: 1.166 MB / 3.746 GB, free: 60.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/10.86, allocations: 64.09 kB / 3.746 GB, free: 60 MB / 0.5105 GB Notification: Performance of SimCode: time 2.124e-06/10.86, allocations: 0 / 3.746 GB, free: 60 MB / 0.5105 GB Notification: Performance of Templates: time 0.07609/10.94, allocations: 38.07 MB / 3.784 GB, free: 57.93 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