Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009558/0.000956, allocations: 174.5 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009454/0.000945, allocations: 97.73 kB / 281.6 MB, free: 5.266 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.2035/0.2035, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.353e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8/8.157, allocations: 2.787 GB / 3.282 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/8.157, allocations: 84.7 kB / 3.282 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.572/9.729, allocations: 440.3 MB / 3.712 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/9.73, allocations: 0 / 3.712 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.437e-05/9.73, allocations: 15.38 kB / 3.712 GB, free: 70.94 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006743/9.736, allocations: 1.785 MB / 3.713 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/9.736, allocations: 15.14 kB / 3.713 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/9.739, allocations: 326 kB / 3.714 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/9.741, allocations: 0.5794 MB / 3.714 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/9.741, allocations: 27.78 kB / 3.714 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/9.741, allocations: 32.53 kB / 3.714 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001125/9.742, allocations: 0.5655 MB / 3.715 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/9.743, allocations: 0.6827 MB / 3.716 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/9.743, allocations: 1.875 kB / 3.716 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/9.743, allocations: 4.219 kB / 3.716 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/9.743, allocations: 28.8 kB / 3.716 GB, free: 69.57 MB / 0.5261 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.07791/9.821, allocations: 44.3 MB / 3.759 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/9.822, allocations: 459.5 kB / 3.759 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/9.823, allocations: 206.1 kB / 3.759 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04215/9.865, allocations: 24.15 MB / 3.783 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/9.865, allocations: 44.59 kB / 3.783 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/9.865, allocations: 3.938 kB / 3.783 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.003139/9.868, allocations: 0.8762 MB / 3.784 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/9.868, allocations: 106.8 kB / 3.784 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/9.869, allocations: 418.1 kB / 3.784 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/9.869, allocations: 27.92 kB / 3.784 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/9.869, allocations: 353.7 kB / 3.785 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/9.869, allocations: 144.2 kB / 3.785 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/9.869, allocations: 2.406 kB / 3.785 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/9.87, allocations: 366.8 kB / 3.785 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/9.87, allocations: 186.4 kB / 3.785 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/9.87, allocations: 361.4 kB / 3.786 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/9.871, allocations: 324.9 kB / 3.786 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/9.871, allocations: 2.875 kB / 3.786 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00193/9.873, allocations: 0.7865 MB / 3.787 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00038/9.874, allocations: 2 MB / 3.789 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/9.874, allocations: 7.875 kB / 3.789 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/9.875, allocations: 274.8 kB / 3.789 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/9.875, allocations: 149.4 kB / 3.789 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/9.877, allocations: 0.8921 MB / 3.79 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/9.878, allocations: 132.5 kB / 3.79 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/9.878, allocations: 36.84 kB / 3.79 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/9.878, allocations: 3.969 kB / 3.79 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/9.88, allocations: 0.6527 MB / 3.791 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/9.88, allocations: 4 kB / 3.791 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007896/9.88, allocations: 178.2 kB / 3.791 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/9.881, allocations: 156 kB / 3.791 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007689/9.882, allocations: 0.731 MB / 3.792 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/9.882, allocations: 101.4 kB / 3.792 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/9.883, allocations: 43.03 kB / 3.792 GB, free: 20.82 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 (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.0001981/9.883, allocations: 128.7 kB / 3.792 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/9.883, allocations: 55.34 kB / 3.792 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/9.886, allocations: 2.512 MB / 3.795 GB, free: 18.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/9.886, allocations: 34.14 kB / 3.795 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/9.886, allocations: 0 / 3.795 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/9.886, allocations: 4 kB / 3.795 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/9.887, allocations: 1.163 MB / 3.796 GB, free: 17.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/9.887, allocations: 0 / 3.796 GB, free: 17.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/9.887, allocations: 71.14 kB / 3.796 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/9.889, allocations: 1.168 MB / 3.797 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/9.889, allocations: 7.797 kB / 3.797 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/9.891, allocations: 1.708 MB / 3.799 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/9.891, allocations: 0 / 3.799 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/9.893, allocations: 1.847 MB / 3.801 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/9.894, allocations: 287 kB / 3.801 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/9.894, allocations: 0 / 3.801 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/9.895, allocations: 80.62 kB / 3.801 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/9.895, allocations: 42.52 kB / 3.801 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/9.895, allocations: 19.42 kB / 3.801 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004516/9.895, allocations: 376.4 kB / 3.801 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/9.895, allocations: 4 kB / 3.801 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006173/9.901, allocations: 1.395 MB / 3.803 GB, free: 10.94 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: 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.009459/9.911, allocations: 1.807 MB / 3.805 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00269/9.914, allocations: 1.098 MB / 3.806 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/9.914, allocations: 1.953 kB / 3.806 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/9.914, allocations: 0.6248 MB / 3.806 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/9.916, allocations: 260.8 kB / 3.806 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/9.919, allocations: 1.512 MB / 3.808 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/9.919, allocations: 1.125 MB / 3.809 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001244/9.92, allocations: 0.738 MB / 3.81 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/9.921, allocations: 51 kB / 3.81 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/9.921, allocations: 0 / 3.81 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of Templates: time 0.3625/10.28, allocations: 38.15 MB / 3.847 GB, free: 84.1 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches