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.002362/0.002362, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 82.72 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2948/0.2948, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.391e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4199, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.066/8.485, allocations: 2.781 GB / 3.247 GB, free: 7.695 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/8.486, allocations: 83.45 kB / 3.247 GB, free: 7.652 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.785/11.27, allocations: 435.6 MB / 3.673 GB, free: 57.7 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.334e-06/11.27, allocations: 0 / 3.673 GB, free: 57.7 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001018/11.27, allocations: 17.81 kB / 3.673 GB, free: 57.7 MB / 0.4952 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.01154/11.28, allocations: 1.778 MB / 3.675 GB, free: 56.96 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/11.28, allocations: 10.06 kB / 3.675 GB, free: 56.96 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006305/11.29, allocations: 329.5 kB / 3.675 GB, free: 56.93 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/11.29, allocations: 0.5793 MB / 3.675 GB, free: 56.69 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/11.29, allocations: 26.75 kB / 3.675 GB, free: 56.69 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/11.29, allocations: 34.22 kB / 3.675 GB, free: 56.69 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002281/11.29, allocations: 0.5671 MB / 3.676 GB, free: 56.69 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/11.3, allocations: 0.6804 MB / 3.677 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/11.3, allocations: 3.344 kB / 3.677 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/11.3, allocations: 3.469 kB / 3.677 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/11.3, allocations: 26.59 kB / 3.677 GB, free: 56.48 MB / 0.4952 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.1899/11.49, allocations: 44.29 MB / 3.72 GB, free: 29.26 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/11.49, allocations: 455.2 kB / 3.72 GB, free: 29.23 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/11.49, allocations: 210.5 kB / 3.721 GB, free: 29.22 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07517/11.56, allocations: 24.17 MB / 3.744 GB, free: 29.74 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/11.56, allocations: 37.77 kB / 3.744 GB, free: 29.7 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=43): time 3.747e-06/11.56, allocations: 3.375 kB / 3.744 GB, free: 29.7 MB / 0.5108 GB Notification: Performance of matching and sorting (n=43): time 0.004315/11.57, allocations: 0.8612 MB / 3.745 GB, free: 29.62 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/11.57, allocations: 120.4 kB / 3.745 GB, free: 29.49 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/11.57, allocations: 415.5 kB / 3.746 GB, free: 29.38 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/11.57, allocations: 29.58 kB / 3.746 GB, free: 29.34 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/11.57, allocations: 386.8 kB / 3.746 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/11.57, allocations: 148.2 kB / 3.746 GB, free: 28.98 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/11.57, allocations: 0 / 3.746 GB, free: 28.98 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001579/11.57, allocations: 339.8 kB / 3.746 GB, free: 28.67 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/11.57, allocations: 180.1 kB / 3.747 GB, free: 28.67 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/11.57, allocations: 367 kB / 3.747 GB, free: 28.46 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/11.57, allocations: 324.3 kB / 3.747 GB, free: 28.45 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/11.57, allocations: 3.781 kB / 3.747 GB, free: 28.45 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003172/11.58, allocations: 0.7565 MB / 3.748 GB, free: 28.38 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009203/11.58, allocations: 2.011 MB / 3.75 GB, free: 26.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/11.58, allocations: 6.969 kB / 3.75 GB, free: 26.28 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/11.58, allocations: 279.1 kB / 3.75 GB, free: 26.26 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/11.58, allocations: 145 kB / 3.75 GB, free: 26.26 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/11.58, allocations: 0.8901 MB / 3.751 GB, free: 25.73 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/11.59, allocations: 134.2 kB / 3.751 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/11.59, allocations: 35.8 kB / 3.751 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/11.59, allocations: 3.656 kB / 3.751 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003031/11.59, allocations: 0.6499 MB / 3.752 GB, free: 25.67 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/11.59, allocations: 10.81 kB / 3.752 GB, free: 25.66 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/11.59, allocations: 152.7 kB / 3.752 GB, free: 25.66 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/11.59, allocations: 158.1 kB / 3.752 GB, free: 25.65 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/11.59, allocations: 0.7264 MB / 3.753 GB, free: 25.13 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/11.59, allocations: 108.8 kB / 3.753 GB, free: 25.1 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/11.59, allocations: 37.64 kB / 3.753 GB, free: 25.1 MB / 0.5108 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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.0003105/11.59, allocations: 124.8 kB / 3.753 GB, free: 24.99 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/11.59, allocations: 61.19 kB / 3.753 GB, free: 24.96 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/11.6, allocations: 2.503 MB / 3.756 GB, free: 24.69 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-05/11.6, allocations: 40 kB / 3.756 GB, free: 24.69 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/11.6, allocations: 0 / 3.756 GB, free: 24.69 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/11.6, allocations: 7.562 kB / 3.756 GB, free: 24.68 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/11.6, allocations: 1.157 MB / 3.757 GB, free: 24.44 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/11.6, allocations: 0 / 3.757 GB, free: 24.44 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/11.6, allocations: 70.02 kB / 3.757 GB, free: 24.44 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/11.6, allocations: 1.168 MB / 3.758 GB, free: 24.41 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/11.6, allocations: 6.406 kB / 3.758 GB, free: 24.41 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/11.61, allocations: 1.71 MB / 3.76 GB, free: 23.85 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/11.61, allocations: 3.656 kB / 3.76 GB, free: 23.85 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/11.61, allocations: 1.846 MB / 3.762 GB, free: 23.55 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006954/11.61, allocations: 283 kB / 3.762 GB, free: 23.37 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/11.61, allocations: 3.516 kB / 3.762 GB, free: 23.37 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/11.61, allocations: 66.95 kB / 3.762 GB, free: 23.36 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/11.61, allocations: 52.94 kB / 3.762 GB, free: 23.36 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/11.61, allocations: 21.09 kB / 3.762 GB, free: 23.36 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006999/11.61, allocations: 381.6 kB / 3.762 GB, free: 23.27 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.633e-06/11.61, allocations: 4 kB / 3.762 GB, free: 23.27 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00701/11.62, allocations: 1.392 MB / 3.764 GB, free: 23.04 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01137/11.63, allocations: 1.795 MB / 3.766 GB, free: 22.65 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003674/11.64, allocations: 1.074 MB / 3.767 GB, free: 22.63 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/11.64, allocations: 192 / 3.767 GB, free: 22.63 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/11.64, allocations: 0.6289 MB / 3.767 GB, free: 22.61 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/11.64, allocations: 269.6 kB / 3.768 GB, free: 22.6 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/11.64, allocations: 1.545 MB / 3.769 GB, free: 22.19 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/11.64, allocations: 1.108 MB / 3.77 GB, free: 21.47 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/11.64, allocations: 56.47 kB / 3.77 GB, free: 21.46 MB / 0.5108 GB Notification: Performance of SimCode: time 1.002e-06/11.64, allocations: 6.297 kB / 3.77 GB, free: 21.46 MB / 0.5108 GB Notification: Performance of Templates: time 0.07569/11.72, allocations: 37.28 MB / 3.807 GB, free: 13.15 MB / 0.5108 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